Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-07-18 03:19:19 +0400
committerJunio C Hamano <gitster@pobox.com>2013-07-18 04:17:39 +0400
commit7f2ea5f0f2fb056314092cce23202096ca70f076 (patch)
tree32f7649879ec3012f3f92d659fee945b9aed265b /diff-no-index.c
parentbf142ec4346385553918bc53f203b205091aa362 (diff)
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 'diff-no-index.c')
0 files changed, 0 insertions, 0 deletions