summaryrefslogtreecommitdiff
path: root/write_or_die.c
diff options
context:
space:
mode:
authorLibravatar brian m. carlson <sandals@crustytoothpaste.net>2018-05-02 00:25:54 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-05-02 13:59:51 +0900
commitd8a92ced62f758fedad95a192978b910b1cc498a (patch)
tree86f77771deecf03d6ba6e14f13fada96e1a66b5e /write_or_die.c
parentbuiltin/receive-pack: avoid hard-coded constants for push certs (diff)
downloadtgif-d8a92ced62f758fedad95a192978b910b1cc498a.tar.xz
sha1-file: add functions for hex empty tree and blob OIDs
Oftentimes, we'll want to refer to an empty tree or empty blob by its hex name without having to call oid_to_hex or explicitly refer to the_hash_algo. Add helper functions that format these values into static buffers and return them for easy use. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'write_or_die.c')
0 files changed, 0 insertions, 0 deletions