]> git.ipfire.org Git - thirdparty/git.git/commit
setup: introduce GIT_DEFAULT_REF_FORMAT envvar
authorPatrick Steinhardt <ps@pks.im>
Fri, 29 Dec 2023 07:26:52 +0000 (08:26 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 2 Jan 2024 17:24:48 +0000 (09:24 -0800)
commitaa19619a9835a9558630c25a5b8f361343af75ce
tree81f945ce21db518bf3b9a4ef964baa453d8e19bc
parentd7497a42b05bb810afeb6acc8c9447b77b1f075d
setup: introduce GIT_DEFAULT_REF_FORMAT envvar

Introduce a new GIT_DEFAULT_REF_FORMAT environment variable that lets
users control the default ref format used by both git-init(1) and
git-clone(1). This is modeled after GIT_DEFAULT_OBJECT_FORMAT, which
does the same thing for the repository's object format.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git.txt
setup.c
t/t0001-init.sh