projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] git-cvsimport-script: add "import only" option
[git.git]
/
git-checkout-script
diff --git
a/git-checkout-script
b/git-checkout-script
index
ea7fef5
..
bf52e3b
100755
(executable)
--- a/
git-checkout-script
+++ b/
git-checkout-script
@@
-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=