diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-07-18 19:36:51 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-07-20 00:22:29 +0200 |
commit | c48f6816f03bfb2a09067a4fcfb4698a2192f6f9 (patch) | |
tree | a545b892c59a20e98b6e6ead5df84aee368d0e03 /diff-lib.c | |
parent | diff: deprecate -q option to diff-files (diff) | |
download | git-c48f6816f03bfb2a09067a4fcfb4698a2192f6f9.tar.xz git-c48f6816f03bfb2a09067a4fcfb4698a2192f6f9.zip |
diff: remove "diff-files -q" in a version of Git in a distant future
This was inherited from "show-diff -q" that was invented to tell
comparison between the index and the working tree to ignore only
removals in 2005.
These days, it is spelled as "--diff-filter=d".
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff-lib.c')
-rw-r--r-- | diff-lib.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/diff-lib.c b/diff-lib.c index 4634b29199..872643f630 100644 --- a/diff-lib.c +++ b/diff-lib.c @@ -89,9 +89,6 @@ int run_diff_files(struct rev_info *revs, unsigned int option) unsigned ce_option = ((option & DIFF_RACY_IS_MODIFIED) ? CE_MATCH_RACY_IS_DIRTY : 0); - if (option & DIFF_SILENT_ON_REMOVED) - handle_deprecated_show_diff_q(&revs->diffopt); - diff_set_mnemonic_prefix(&revs->diffopt, "i/", "w/"); if (diff_unmerged_stage < 0) |