summaryrefslogtreecommitdiff
path: root/builtin/tag.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2013-07-17 16:19:19 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-07-17 17:17:39 -0700
commit7f2ea5f0f2fb056314092cce23202096ca70f076 (patch)
tree32f7649879ec3012f3f92d659fee945b9aed265b /builtin/tag.c
parentdiff: reject unknown change class given to --diff-filter (diff)
downloadtgif-7f2ea5f0f2fb056314092cce23202096ca70f076.tar.xz
diff: allow lowercase letter to specify what change class to exclude
In order to express "we do not care about deletions", we had to say "--diff-filter=ACMRTXUB", giving all the possible change class except for the one we do not want, "D". This is cumbersome. As all the change classes are in uppercase, allow their lowercase counterpart to selectively exclude the class from the output. When such a negated change class is in the input, start the filter option with the full bits set. This would allow us to express the old "show-diff -q" with "git diff-files --diff-filter=d". Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/tag.c')
0 files changed, 0 insertions, 0 deletions