From 19fbd9394a79f2ce8fa65c999e75c7a7db2a11db Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 3 Nov 2012 00:56:15 -0400 Subject: [PATCH] handle more cvs cases --- .bin/git-update | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.bin/git-update b/.bin/git-update index 6e4b39f..ddc4a8f 100755 --- a/.bin/git-update +++ b/.bin/git-update @@ -13,6 +13,9 @@ elif git config cvs.cvsroot >/dev/null ; then # authors file is at .git/cvs-authors set -- git cvsimport -a -d $(git config cvs.cvsroot) $(git config cvs.module) "$@" expected="Already up-to-date." +elif [[ -d CVS ]] && git rev-parse origin >/dev/null ; then + set -- git cvsimport -a + expected="Already up-to-date." else set -- git pull "$@" expected="Already up-to-date." -- 2.39.5