Git fork

Merge branch 'rs/object-name-extend-abbrev-len-update'

Code clean-up.

* rs/object-name-extend-abbrev-len-update:
object-name: declare pointer type of extend_abbrev_len()'s 2nd parameter

+2 -3
+2 -3
object-name.c
··· 696 696 return hex[oid->hash[pos >> 1] & 0xf]; 697 697 } 698 698 699 - static int extend_abbrev_len(const struct object_id *oid, void *cb_data) 699 + static int extend_abbrev_len(const struct object_id *oid, 700 + struct min_abbrev_data *mad) 700 701 { 701 - struct min_abbrev_data *mad = cb_data; 702 - 703 702 unsigned int i = mad->init_len; 704 703 while (mad->hex[i] && mad->hex[i] == get_hex_char_from_oid(oid, i)) 705 704 i++;