aboutsummaryrefslogtreecommitdiffstats
path: root/object-file.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2025-05-16 00:50:10 -0400
committerJunio C Hamano <gitster@pobox.com>2025-05-16 09:43:11 -0700
commitf710fd7b49218ce3407a88b2c548704299c7c664 (patch)
tree3f084f3ac8378495c3c75818efdb1853cdb6c818 /object-file.c
parenthash-object: merge HASH_* and INDEX_* flags (diff)
downloadgit-f710fd7b49218ce3407a88b2c548704299c7c664.tar.gz
git-f710fd7b49218ce3407a88b2c548704299c7c664.zip
hash-object: handle --literally with OPT_NEGBIT
Since we recently removed the hash_literally() function, the hash-object --literally option has been simplified to just removing the INDEX_FORMAT_CHECK flag. Rather than pass it around as a separate bool, we can just have the option parser remove the bit from the set of flags directly. This simplifies the helper functions. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'object-file.c')
0 files changed, 0 insertions, 0 deletions