diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2017-06-23 09:01:40 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-06-23 13:27:33 -0700 |
commit | 42dfa7ecef22191b004862fb56074b408c94fc97 (patch) | |
tree | 630bab8e57dc61be971f934ccbe846e3c09fc896 /commit-slab.h | |
parent | commit_packed_refs(): report errors rather than dying (diff) | |
download | tgif-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 'commit-slab.h')
0 files changed, 0 insertions, 0 deletions