aboutsummaryrefslogtreecommitdiff
path: root/diff.h
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-02-10 18:47:41 -0800
committerJunio C Hamano <junkio@cox.net>2006-02-10 18:47:41 -0800
commit3f6726e1f112d221bd2a919e9b1b2927aeef6150 (patch)
tree9ee388cce7c0ce7f5db55f5de0379b48212e7229 /diff.h
parent9ae6be80163669db921e6522140900da41753ed5 (diff)
parentd416df8869d803282fb254a18505eccceee9ba3e (diff)
downloadgit-3f6726e1f112d221bd2a919e9b1b2927aeef6150.tar.xz
Merge branch 'lt/diff-tree'
* lt/diff-tree: combine-diff: Record diff status a bit more faithfully find_unique_abbrev() simplification. combine-diff: move formatting logic to show_combined_diff() combined-diff: use diffcore before intersecting paths. diff-tree -c raw output
Diffstat (limited to 'diff.h')
-rw-r--r--diff.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/diff.h b/diff.h
index 5c5e7fa91f..8fac465a9d 100644
--- a/diff.h
+++ b/diff.h
@@ -66,6 +66,7 @@ struct combine_diff_path {
unsigned int mode;
unsigned char sha1[20];
struct combine_diff_parent {
+ char status;
unsigned int mode;
unsigned char sha1[20];
} parent[FLEX_ARRAY];
@@ -74,10 +75,11 @@ struct combine_diff_path {
(sizeof(struct combine_diff_path) + \
sizeof(struct combine_diff_parent) * (n) + (l) + 1)
-int show_combined_diff(struct combine_diff_path *elem, int num_parent,
- int dense, const char *header);
+extern int show_combined_diff(struct combine_diff_path *elem, int num_parent,
+ int dense, const char *header,
+ struct diff_options *);
-extern int diff_tree_combined_merge(const unsigned char *sha1, const char *, int);
+extern const char *diff_tree_combined_merge(const unsigned char *sha1, const char *, int, struct diff_options *opt);
extern void diff_addremove(struct diff_options *,
int addremove,