summaryrefslogtreecommitdiff
path: root/date.c
diff options
context:
space:
mode:
authorLibravatar brian m. carlson <sandals@crustytoothpaste.net>2018-05-02 00:26:04 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-05-02 13:59:52 +0900
commita0554934364f3c8921abb8f7526301e81c230dac (patch)
treed38150351e7016c712760f60cfcdc1acd03ab8ed /date.c
parentsha1_file: convert cached object code to struct object_id (diff)
downloadtgif-a0554934364f3c8921abb8f7526301e81c230dac.tar.xz
cache-tree: use is_empty_tree_oid
When comparing an object ID against that of the empty tree, use the is_empty_tree_oid function to ensure that we abstract over the hash algorithm properly. In addition, this is more readable than a plain oidcmp. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'date.c')
0 files changed, 0 insertions, 0 deletions