summaryrefslogtreecommitdiffstats
path: root/builtin/am.c
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2018-05-02 02:25:54 +0200
committerJunio C Hamano <gitster@pobox.com>2018-05-02 06:59:51 +0200
commitd8a92ced62f758fedad95a192978b910b1cc498a (patch)
tree86f77771deecf03d6ba6e14f13fada96e1a66b5e /builtin/am.c
parentbuiltin/receive-pack: avoid hard-coded constants for push certs (diff)
downloadgit-d8a92ced62f758fedad95a192978b910b1cc498a.tar.xz
git-d8a92ced62f758fedad95a192978b910b1cc498a.zip
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 'builtin/am.c')
0 files changed, 0 insertions, 0 deletions