Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge refs/heads/master from .
[gitweb.git]
/
git-branch-script
diff --git
a/git-branch-script
b/git-branch-script
index a6dfeaf55fb917de346132a94e9d3d123223eecd..0ecbd239acf0d035ba1a7c9471c2b29b3bb4b884 100755
(executable)
--- a/
git-branch-script
+++ b/
git-branch-script
@@
-25,7
+25,7
@@
case "$#" in
head="$2^0" ;;
esac
branchname="$1"
-rev=$(git-rev-parse --
revs-only --
verify "$head") || exit
+rev=$(git-rev-parse --verify "$head") || exit
[ -e "$GIT_DIR/refs/heads/$branchname" ] && die "$branchname already exists"