diff options
| author | brian m. carlson <sandals@crustytoothpaste.net> | 2020-06-19 17:55:52 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2020-06-19 14:04:08 -0700 |
| commit | 586740aa6e70013a837e0d9f3e0ea04c7f180fbd (patch) | |
| tree | b2a857ee9fd89f8a1a42f18430652521f0327d59 /t/helper/test-oid-array.c | |
| parent | remote-curl: detect algorithm for dumb HTTP by size (diff) | |
| download | git-586740aa6e70013a837e0d9f3e0ea04c7f180fbd.tar.gz git-586740aa6e70013a837e0d9f3e0ea04c7f180fbd.zip | |
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 't/helper/test-oid-array.c')
0 files changed, 0 insertions, 0 deletions
