diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2017-05-06 22:10:35 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-05-08 15:12:58 +0900 |
commit | 944cffbd18a7dbe0b4c5849da6f093c41b49ea00 (patch) | |
tree | 2f772ea511efebff44244c955345182ce2dfedd1 /diff.h | |
parent | builtin/ls-tree: convert to struct object_id (diff) | |
download | tgif-944cffbd18a7dbe0b4c5849da6f093c41b49ea00.tar.xz |
diff-lib: convert do_diff_cache to struct object_id
This is needed to convert parse_tree_indirect.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff.h')
-rw-r--r-- | diff.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -354,7 +354,7 @@ extern const char *diff_aligned_abbrev(const struct object_id *sha1, int); extern int run_diff_files(struct rev_info *revs, unsigned int option); extern int run_diff_index(struct rev_info *revs, int cached); -extern int do_diff_cache(const unsigned char *, struct diff_options *); +extern int do_diff_cache(const struct object_id *, struct diff_options *); extern int diff_flush_patch_id(struct diff_options *, unsigned char *, int); extern int diff_result_code(struct diff_options *, int); |