aboutsummaryrefslogtreecommitdiff
path: root/refs/files-backend.c
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2017-06-23 09:01:40 +0200
committerJunio C Hamano <gitster@pobox.com>2017-06-23 13:27:33 -0700
commit42dfa7ecef22191b004862fb56074b408c94fc97 (patch)
tree630bab8e57dc61be971f934ccbe846e3c09fc896 /refs/files-backend.c
parent3478983b517bd62cf2a5c9523815e5e5318a9477 (diff)
downloadgit-42dfa7ecef22191b004862fb56074b408c94fc97.tar.gz
git-42dfa7ecef22191b004862fb56074b408c94fc97.tar.xz
commit_packed_refs(): use a staging file separate from the lockfile
We will want to be able to hold the lockfile for `packed-refs` even after we have activated the new values. So use a separate tempfile, `packed-refs.new`, as a place to stage the new contents of the `packed-refs` file. For now this is all done within `commit_packed_refs()`, but that will change shortly. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs/files-backend.c')
0 files changed, 0 insertions, 0 deletions