diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-07-17 17:18:32 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-07-19 15:20:47 -0700 |
commit | 95a7c546b02a962b9e458f7fd2d0ed9b657c0ca6 (patch) | |
tree | cf6d5a0b08a04946f3613c590cc22020ee980484 /diff.h | |
parent | 7f2ea5f0f2fb056314092cce23202096ca70f076 (diff) | |
download | git-95a7c546b02a962b9e458f7fd2d0ed9b657c0ca6.tar.gz |
diff: deprecate -q option to diff-filesjc/diff-filter-negation
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>
Diffstat (limited to 'diff.h')
-rw-r--r-- | diff.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -341,6 +341,8 @@ extern int parse_rename_score(const char **cp_p); extern long parse_algorithm_value(const char *value); +extern void handle_deprecated_show_diff_q(struct diff_options *); + extern int print_stat_summary(FILE *fp, int files, int insertions, int deletions); extern void setup_diff_pager(struct diff_options *); |