Code

cvsserver: imitate git-update-ref when committing
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Wed, 26 Jul 2006 20:51:52 +0000 (22:51 +0200)
committerJunio C Hamano <junkio@cox.net>
Wed, 26 Jul 2006 21:32:13 +0000 (14:32 -0700)
commitcadbcf2712ff346dcd757d0b116359380920b2a4
treefb3c4a588b61992303a6ceebbd151c7744ffa4f1
parent5209eda86363a3ba2e000903ad8de29589b18b58
cvsserver: imitate git-update-ref when committing

git-update-ref writes into the lockfile, and renames it afterwards. Like
commit v1.3.0-rc3~22, it is not only cleaner, but also helps with shared
setups: every developer can have a different primary group; what matters
is that $GIT_DIR/refs/heads has to be writable by a group you are in.

Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-cvsserver.perl