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>
This commit is contained in:
committed by
Junio C Hamano
parent
a9b5f5bfd5
commit
944cffbd18
2
diff.h
2
diff.h
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user