author | Junio C Hamano <gitster@pobox.com> | |
Thu, 1 Sep 2011 22:43:34 +0000 (15:43 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 1 Sep 2011 22:46:13 +0000 (15:46 -0700) | ||
commit | 5a48d24012fa39cdd02c1cb614db2e62d445e2ce | |
tree | 3803d06e4bcdb2c3e45c53ebefa1b3098a86d28a | tree | snapshot |
parent | 4947367267cbcd0ca528711b2393613e2e817878 | commit | diff |
rev-list --verify-object
Often we want to verify everything reachable from a given set of commits
are present in our repository and connected without a gap to the tips of
our refs. We used to do this for this purpose:
$ rev-list --objects $commits_to_be_tested --not --all
Even though this is good enough for catching missing commits and trees,
we show the object name but do not verify their existence, let alone their
well-formedness, for the blob objects at the leaf level.
Add a new "--verify-object" option so that we can catch missing and broken
blobs as well.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Often we want to verify everything reachable from a given set of commits
are present in our repository and connected without a gap to the tips of
our refs. We used to do this for this purpose:
$ rev-list --objects $commits_to_be_tested --not --all
Even though this is good enough for catching missing commits and trees,
we show the object name but do not verify their existence, let alone their
well-formedness, for the blob objects at the leaf level.
Add a new "--verify-object" option so that we can catch missing and broken
blobs as well.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/rev-list.c | diff | blob | history | |
revision.c | diff | blob | history | |
revision.h | diff | blob | history |