diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-08-31 15:38:54 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-08-31 15:38:55 -0700 |
commit | 0bb71fb36d60902a2efffd7e6df1cc821884e67c (patch) | |
tree | a2d27d511fa3d4b085ce46a8414212de35f4064b /builtin | |
parent | Merge branch 'hv/submodule-config' (diff) | |
parent | rev-list: make it obvious that we do not support notes (diff) | |
download | tgif-0bb71fb36d60902a2efffd7e6df1cc821884e67c.tar.xz |
Merge branch 'jk/rev-list-has-no-notes'
"git rev-list" does not take "--notes" option, but did not complain
when one is given.
* jk/rev-list-has-no-notes:
rev-list: make it obvious that we do not support notes
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/rev-list.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/builtin/rev-list.c b/builtin/rev-list.c index c0b4b53652..d80d1ed359 100644 --- a/builtin/rev-list.c +++ b/builtin/rev-list.c @@ -350,6 +350,9 @@ int cmd_rev_list(int argc, const char **argv, const char *prefix) revs.diff) usage(rev_list_usage); + if (revs.show_notes) + die(_("rev-list does not support display of notes")); + save_commit_buffer = (revs.verbose_header || revs.grep_filter.pattern_list || revs.grep_filter.header_list); |