[PATCH] git-cvsimport-script: add "import only" option
[git.git] / git-checkout-script
index ea7fef5..bf52e3b 100755 (executable)
@@ -1,5 +1,6 @@
 #!/bin/sh
-: ${GIT_DIR=.git}
+. git-sh-setup-script || die "Not a git archive"
+
 old=$(git-rev-parse HEAD)
 new=
 force=