aboutsummaryrefslogtreecommitdiff
path: root/diff-lib.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-07-18 10:36:51 -0700
committerJunio C Hamano <gitster@pobox.com>2013-07-19 15:22:29 -0700
commitc48f6816f03bfb2a09067a4fcfb4698a2192f6f9 (patch)
treea545b892c59a20e98b6e6ead5df84aee368d0e03 /diff-lib.c
parent95a7c546b02a962b9e458f7fd2d0ed9b657c0ca6 (diff)
downloadgit-c48f6816f03bfb2a09067a4fcfb4698a2192f6f9.tar.gz
git-c48f6816f03bfb2a09067a4fcfb4698a2192f6f9.tar.xz
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.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/diff-lib.c b/diff-lib.c
index 4634b2919..872643f63 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)