aboutsummaryrefslogtreecommitdiffstats
path: root/diff.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2025-10-17 11:40:15 -0700
committerJunio C Hamano <gitster@pobox.com>2025-10-17 11:40:15 -0700
commit1e0a3e8f8f9e160b21fbe6f3f11a11dbed15fb4e (patch)
treef72301557649cd895d16b15bce21ef6b47fb36ca /diff.h
parentGit 2.51 (diff)
parentdiff: ensure consistent diff behavior with ignore options (diff)
downloadgit-1e0a3e8f8f9e160b21fbe6f3f11a11dbed15fb4e.tar.gz
git-1e0a3e8f8f9e160b21fbe6f3f11a11dbed15fb4e.zip
Merge branch 'ly/diff-name-only-with-diff-from-content' into jk/diff-from-contents-fix
* ly/diff-name-only-with-diff-from-content: diff: ensure consistent diff behavior with ignore options
Diffstat (limited to 'diff.h')
-rw-r--r--diff.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/diff.h b/diff.h
index 62e5768a9a..91b3e1c5cf 100644
--- a/diff.h
+++ b/diff.h
@@ -400,6 +400,8 @@ 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;