summaryrefslogtreecommitdiff
path: root/t/t4130-apply-criss-cross-rename.sh
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2017-05-22 16:17:41 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-05-23 14:29:54 +0900
commit00d174489e9905411dbae5f895758f2ca489bd9f (patch)
tree54073827f0e97261fa574cc5023e800e0f8b08cd /t/t4130-apply-criss-cross-rename.sh
parentfiles-backend: move `lock` member to `files_ref_store` (diff)
downloadtgif-00d174489e9905411dbae5f895758f2ca489bd9f.tar.xz
files_ref_store: put the packed files lock directly in this struct
Instead of using a global `lock_file` instance for the main "packed-refs" file and using a pointer in `files_ref_store` to keep track of whether it is locked, embed the `lock_file` instance directly in the `files_ref_store` struct and use the new `is_lock_file_locked()` function to keep track of whether it is locked. This keeps related data together and makes the main reference store less of a special case. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4130-apply-criss-cross-rename.sh')
0 files changed, 0 insertions, 0 deletions