aboutsummaryrefslogtreecommitdiff
path: root/diff.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2025-12-16 10:22:56 +0900
committerJunio C Hamano <gitster@pobox.com>2025-12-16 10:22:56 +0900
commitc0c4dc0b700f0f97cbe7a06ab555cd6912dc924c (patch)
tree5005b815e45118299eb1e03903bffce6a4241424 /diff.h
parent9a2fb147f2c61d0cab52c883e7e26f5b7948e3ed (diff)
parent38f88051dae6ddb2f1cdb9c7415d4ba6caef04af (diff)
downloadgit-c0c4dc0b700f0f97cbe7a06ab555cd6912dc924c.tar.xz
Merge branch 'rs/diff-index-find-copies-harder-optim' into rs/diff-files-r-find-copies-fix
* rs/diff-index-find-copies-harder-optim: diff-index: don't queue unchanged filepairs with diff_change()
Diffstat (limited to 'diff.h')
-rw-r--r--diff.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/diff.h b/diff.h
index 31eedd5c0c..e80503aebb 100644
--- a/diff.h
+++ b/diff.h
@@ -572,6 +572,11 @@ void diff_change(struct diff_options *,
const char *fullpath,
unsigned dirty_submodule1, unsigned dirty_submodule2);
+void diff_same(struct diff_options *,
+ unsigned mode,
+ const struct object_id *oid,
+ const char *fullpath);
+
struct diff_filepair *diff_unmerge(struct diff_options *, const char *path);
void compute_diffstat(struct diff_options *options, struct diffstat_t *diffstat,