Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Make 'git' script be a bit more helpful on unrecognized commands
[gitweb.git]
/
git-pull-script
diff --git
a/git-pull-script
b/git-pull-script
index a4ca97c64566419a0dc02e8e719333d1c9240edc..dbef56c70b7e40c69517c3ede33544d0e9efcc8a 100755
(executable)
--- a/
git-pull-script
+++ b/
git-pull-script
@@
-6,9
+6,7
@@
merge_name=$(echo "$1" | sed 's:\.git/*$::')
merge_head=HEAD
if [ "$2" ]
then
- merge_name="'$2' branch from
-
- $merge_name"
+ merge_name="'$2' branch of $merge_name"
merge_head="refs/heads/$2"
fi