summaryrefslogtreecommitdiff
path: root/diff.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2025-10-15 10:29:29 -0700
committerJunio C Hamano <gitster@pobox.com>2025-10-15 10:29:29 -0700
commit77f8e1002be5c736e064ed0e656ba51c82d85b5d (patch)
tree9a23ed4398489b2f25a6cab195fc40f9af8d8d07 /diff.h
parent2dad35f32f4ac69d53a426759209d44f4a09df55 (diff)
parentb55e6d36ebce69136559add8fffd1a65df231518 (diff)
downloadgit-77f8e1002be5c736e064ed0e656ba51c82d85b5d.tar.xz
Merge branch 'ly/diff-name-only-with-diff-from-content' into maint-2.51
Various options to "git diff" that makes comparison ignore certain aspects of the differences (like "space changes are ignored", "differences in lines that match these regular expressions are ignored") did not work well with "--name-only" and friends. * 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;