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 | notes remove: --stdin reads from the standard input (diff) | |
download | tgif-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 bca9947977..93f338d6a7 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, |