The unified diff between revisions [3099ff90..] and [e9aa88ea..] is displayed below. It can also be downloaded as a raw diff.
This diff has been restricted to the following files: 'vocab.hh'
#
#
# patch "vocab.hh"
# from [22382ac1bdffec21170a88ff2580fe39b508243f]
# to [511e1ef3052189b3868e5b3932b12c198eab396f]
#
============================================================
--- vocab.hh 22382ac1bdffec21170a88ff2580fe39b508243f
+++ vocab.hh 511e1ef3052189b3868e5b3932b12c198eab396f
@@ -166,5 +166,24 @@ enum diff_type
external_diff
};
+// do these belong here?
+inline bool
+null_id(file_id const & i)
+{
+ return i.inner()().empty();
+}
+inline bool
+null_id(manifest_id const & i)
+{
+ return i.inner()().empty();
+}
+
+inline bool
+null_id(revision_id const & i)
+{
+ return i.inner()().empty();
+}
+
+
#endif // __VOCAB_HH__