summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2007-02-20 21:54:39 -0800
committerLibravatar Junio C Hamano <junkio@cox.net>2007-02-27 15:44:40 -0800
commitada5ef3b48be7ded62af1f9b7fdb71db3024ac71 (patch)
treef9ebafa7ae1dd97f011e374b2c4d41862cef562f /t
parentMerge branch 'maint' (diff)
downloadtgif-ada5ef3b48be7ded62af1f9b7fdb71db3024ac71.tar.xz
Make 'cvs ci' lockless in git-cvsserver by using git-update-ref
This makes "ci" codepath lockless by following the usual "remember the tip, do your thing, then compare and swap at the end" update pattern using update-ref. Incidentally, by updating the code that reads where the tip of the head is to use show-ref, it makes it safe to use in a repository whose refs are pack-pruned. I noticed that other parts of the program are not yet pack-refs safe, but tried to keep the changes to the minimum. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 't')
0 files changed, 0 insertions, 0 deletions