cvsimport: use git-update-ref when updating
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Thu, 30 Mar 2006 12:06:15 +0000 (14:06 +0200)
committerJunio C Hamano <junkio@cox.net>
Wed, 5 Apr 2006 00:13:25 +0000 (17:13 -0700)
commit42277bc81ce2f4450fe08239e4db34516f879c1d
tree414cb7d3382ec672a3a0534fdcd7e6d80465f662
parentfc4c4cd21c783b6dc387002c6e018d26f7405e9f
cvsimport: use git-update-ref when updating

This simplifies code, and also fixes a subtle bug: when importing in a
shared repository, where another user last imported from CVS, cvsimport
used to complain that it could not open <branch> for update.

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