From c48f6816f03bfb2a09067a4fcfb4698a2192f6f9 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Thu, 18 Jul 2013 10:36:51 -0700 Subject: 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 --- diff-lib.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'diff-lib.c') 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) -- cgit v1.2.1