diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2018-05-02 00:25:54 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-05-02 13:59:51 +0900 |
commit | d8a92ced62f758fedad95a192978b910b1cc498a (patch) | |
tree | 86f77771deecf03d6ba6e14f13fada96e1a66b5e /write_or_die.c | |
parent | builtin/receive-pack: avoid hard-coded constants for push certs (diff) | |
download | tgif-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