diff options
author | Junio C Hamano <junkio@cox.net> | 2007-02-20 21:54:39 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-02-27 15:44:40 -0800 |
commit | ada5ef3b48be7ded62af1f9b7fdb71db3024ac71 (patch) | |
tree | f9ebafa7ae1dd97f011e374b2c4d41862cef562f /xdiff/xmerge.c | |
parent | 4e4b55dd0f5b4644767265f7c16a8b370278ce56 (diff) | |
download | git-ada5ef3b48be7ded62af1f9b7fdb71db3024ac71.tar.gz git-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 'xdiff/xmerge.c')
0 files changed, 0 insertions, 0 deletions