summaryrefslogtreecommitdiff
path: root/dir-iterator.h
diff options
context:
space:
mode:
authorLibravatar Jonathan Tan <jonathantanmy@google.com>2017-06-13 14:05:57 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-06-15 09:51:57 -0700
commit285a2984bd92a273fb85a216ec7243ea74761a12 (patch)
treeccbc0b4c38d9f876bdba3236a770345fcd032178 /dir-iterator.h
parentSync with maint (diff)
downloadtgif-285a2984bd92a273fb85a216ec7243ea74761a12.tar.xz
sha1_file: teach packed_object_info about typename
In commit 46f0344 ("sha1_file: support reading from a loose object of unknown type", 2015-05-06), "struct object_info" gained a "typename" field that could represent a type name from a loose object file, whether valid or invalid, as opposed to the existing "typep" which could only represent valid types. Some relatively complex manipulations were added to avoid breaking packed_object_info() without modifying it, but it is much easier to just teach packed_object_info() about the new field. Therefore, teach packed_object_info() as described above. Signed-off-by: Jonathan Tan <jonathantanmy@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'dir-iterator.h')
0 files changed, 0 insertions, 0 deletions