summaryrefslogtreecommitdiff
path: root/commit.h
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2020-06-19 17:55:52 +0000
committerJunio C Hamano <gitster@pobox.com>2020-06-19 14:04:08 -0700
commit586740aa6e70013a837e0d9f3e0ea04c7f180fbd (patch)
treeb2a857ee9fd89f8a1a42f18430652521f0327d59 /commit.h
parentac093d0790cf9073e6cb03744b1d0fbc1e07d3f7 (diff)
builtin/index-pack: add option to specify hash algorithm
git index-pack is usually run in a repository, but need not be. Since packs don't contains information on the algorithm in use, instead relying on context, add an option to index-pack to tell it which one we're using in case someone runs it outside of a repository. Since using --stdin necessarily implies a repository, don't allow specifying an object format if it's provided to prevent users from passing an option that won't work. Add documentation for this option. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.h')
0 files changed, 0 insertions, 0 deletions