diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-05-18 18:08:09 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-05-19 10:55:54 -0700 |
commit | cc243c3cebd58d06bc4e064b08fa9c3fdd565250 (patch) | |
tree | 7e19382ea9f0ca90796d7ee95c0e0c8e2dd98bad /revision.h | |
parent | 46538012d943156ead4024fb510a1ce5d4ff443a (diff) | |
download | git-cc243c3cebd58d06bc4e064b08fa9c3fdd565250.tar.gz git-cc243c3cebd58d06bc4e064b08fa9c3fdd565250.tar.xz |
show: --ignore-missing
Instead of barfing, simply ignore bad object names seen in the
input. This is useful when reading from "git notes list" output
that may refer to objects that have already been garbage collected.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'revision.h')
-rw-r--r-- | revision.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/revision.h b/revision.h index bca994797..93f338d6a 100644 --- a/revision.h +++ b/revision.h @@ -36,7 +36,8 @@ struct rev_info { const char *prefix; const char *def; struct pathspec prune_data; - unsigned int early_output; + unsigned int early_output:1, + ignore_missing:1; /* Traversal flags */ unsigned int dense:1, |