summaryrefslogtreecommitdiff
path: root/reflog-walk.c
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2011-03-29 16:59:42 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-03-29 14:39:24 -0700
commit92e0d42539a34e90f5c9bf29eb741f0d87173027 (patch)
tree8eead1847476de332ab32cf9d8dcba88a89d21f3 /reflog-walk.c
parentrevision.c: support --notes command-line option (diff)
downloadtgif-92e0d42539a34e90f5c9bf29eb741f0d87173027.tar.xz
revision.c: make --no-notes reset --notes list
With most command line options, later instances of an option override earlier ones. With cumulative options like "--notes", however, there is no way to say "forget the --notes I gave you before". Let's have --no-notes trigger this forgetting, so that: git log --notes=foo --no-notes --notes=bar will show only the "bar" notes. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'reflog-walk.c')
0 files changed, 0 insertions, 0 deletions