aboutsummaryrefslogtreecommitdiffstats
path: root/diff.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2025-11-03 06:49:55 -0800
committerJunio C Hamano <gitster@pobox.com>2025-11-03 06:49:55 -0800
commit249b0d3f037083eef1c11c55cc76e0e9cd5eeed5 (patch)
tree89c38e1a9896c5def3abd210f530a1ce27be6b1f /diff.h
parentMerge branch 'ps/maintenance-geometric' (diff)
parentdiff: simplify run_external_diff() quiet logic (diff)
downloadgit-249b0d3f037083eef1c11c55cc76e0e9cd5eeed5.tar.gz
git-249b0d3f037083eef1c11c55cc76e0e9cd5eeed5.zip
Merge branch 'jk/diff-patch-dry-run-cleanup'
Finishing touches to fixes to the recent regression in "git diff -w --quiet" and anything that needs to internally generate patch to see if it turns empty. * jk/diff-patch-dry-run-cleanup: diff: simplify run_external_diff() quiet logic diff: drop dry-run redirection to /dev/null diff: replace diff_options.dry_run flag with NULL file diff: drop save/restore of color_moved in dry-run mode diff: send external diff output to diff_options.file
Diffstat (limited to 'diff.h')
-rw-r--r--diff.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/diff.h b/diff.h
index 2fa256c3ef..31eedd5c0c 100644
--- a/diff.h
+++ b/diff.h
@@ -408,8 +408,6 @@ struct diff_options {
#define COLOR_MOVED_WS_ERROR (1<<0)
unsigned color_moved_ws_handling;
- bool dry_run;
-
struct repository *repo;
struct strmap *additional_path_headers;