diff: deprecate -q option to diff-files
authorJunio C Hamano <gitster@pobox.com>
Thu, 18 Jul 2013 00:18:32 +0000 (17:18 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 19 Jul 2013 22:20:47 +0000 (15:20 -0700)
This reimplements the ancient "-q" option to "git diff-files" that
was inherited from "show-diff -q" in terms of "--diff-filter=d". We
will be deprecating the "-q" option, so let's issue a warning when
we do so.

Incidentally this also tentatively fixes "git diff --no-index" to
honor "-q" and hide deletions; the use will get the same warning.

We should remove the support for "-q" in a future version but it is
not that urgent.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found