resolve-undo: convert struct resolve_undo_info to object_id
Convert the sha1 member of this struct to be an array of struct object_id instead. This change is needed to convert find_unique_abbrev. Convert some instances of hard-coded constants to use the_hash_algo as well. 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
6dcb462530
commit
5ac913c6eb
@ -3,7 +3,7 @@
|
||||
|
||||
struct resolve_undo_info {
|
||||
unsigned int mode[3];
|
||||
unsigned char sha1[3][20];
|
||||
struct object_id oid[3];
|
||||
};
|
||||
|
||||
extern void record_resolve_undo(struct index_state *, struct cache_entry *);
|
||||
|
Reference in New Issue
Block a user