summaryrefslogtreecommitdiff
path: root/Documentation/git-sh-i18n--envsubst.txt
diff options
context:
space:
mode:
authorLibravatar Patrick Steinhardt <ps@pks.im>2022-02-17 14:04:24 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2022-02-17 11:19:43 -0800
commit2983cec0f26b7409ccc2dd5710b40ff4809cd4b1 (patch)
treeda5606ff76166b0021b3e8a375a7a43d94ef7223 /Documentation/git-sh-i18n--envsubst.txt
parentfetch: backfill tags before setting upstream (diff)
downloadtgif-2983cec0f26b7409ccc2dd5710b40ff4809cd4b1.tar.xz
fetch: control lifecycle of FETCH_HEAD in a single place
There are two different locations where we're appending to FETCH_HEAD: first when storing updated references, and second when backfilling tags. Both times we open the file, append to it and then commit it into place, which is essentially duplicate work. Improve the lifecycle of updating FETCH_HEAD by opening and committing it once in `do_fetch()`, where we pass the structure down to the code which wants to append to it. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-sh-i18n--envsubst.txt')
0 files changed, 0 insertions, 0 deletions