summaryrefslogtreecommitdiff
path: root/color.c
diff options
context:
space:
mode:
authorLibravatar brian m. carlson <sandals@crustytoothpaste.net>2020-02-22 20:17:40 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-02-24 09:33:30 -0800
commitefa7ae36c134cc0de6f766c1ab5dfd6b55fab65c (patch)
tree579b070299721e1dd80ca3b1665056f6cfc7b84d /color.c
parentbuiltin/init-db: add environment variable for new repo hash (diff)
downloadtgif-efa7ae36c134cc0de6f766c1ab5dfd6b55fab65c.tar.xz
init-db: move writing repo version into a function
When we perform a clone, we won't know the remote side's hash algorithm until we've read the heads. Consequently, we'll need to rewrite the repository format version and hash algorithm once we know what the remote side has. Move the code that does this into its own function so that we can call it from clone in the future. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'color.c')
0 files changed, 0 insertions, 0 deletions