aboutsummaryrefslogtreecommitdiff
path: root/diff.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-08-20 12:53:09 -0700
committerJunio C Hamano <gitster@pobox.com>2010-08-20 12:53:09 -0700
commit55c6e6dc38188d27b4ec0315db93d6c40725cdd6 (patch)
treeede040677f6ad505638458f178d9527600ee7b4e /diff.h
parent16bfbe6352e90b87de26effe5ce120ab74ebafc7 (diff)
parent65113121a50cd765033d51204213c817832c59cf (diff)
downloadgit-55c6e6dc38188d27b4ec0315db93d6c40725cdd6.tar.gz
git-55c6e6dc38188d27b4ec0315db93d6c40725cdd6.tar.xz
Merge branch 'jc/maint-follow-rename-fix' into maint
* jc/maint-follow-rename-fix: log: test for regression introduced in v1.7.2-rc0~103^2~2 diff --follow: do call diffcore_std() as necessary diff --follow: do not waste cycles while recursing
Diffstat (limited to 'diff.h')
-rw-r--r--diff.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/diff.h b/diff.h
index 063d10ac2..6fff024e3 100644
--- a/diff.h
+++ b/diff.h
@@ -126,6 +126,9 @@ struct diff_options {
/* this is set by diffcore for DIFF_FORMAT_PATCH */
int found_changes;
+ /* to support internal diff recursion by --follow hack*/
+ int found_follow;
+
FILE *file;
int close_file;