From: Mike Frysinger Date: Sat, 3 Nov 2012 04:56:15 +0000 (-0400) Subject: handle more cvs cases X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=19fbd9394a79f2ce8fa65c999e75c7a7db2a11db;p=home.git handle more cvs cases --- 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."