diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2020-02-22 20:17:40 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-02-24 09:33:30 -0800 |
commit | efa7ae36c134cc0de6f766c1ab5dfd6b55fab65c (patch) | |
tree | 579b070299721e1dd80ca3b1665056f6cfc7b84d /revision.c | |
parent | builtin/init-db: add environment variable for new repo hash (diff) | |
download | tgif-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 'revision.c')
0 files changed, 0 insertions, 0 deletions