Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
replace: add test for --graft
[gitweb.git]
/
git-pull.sh
diff --git
a/git-pull.sh
b/git-pull.sh
index 7358fac86433b61a35ad332d680ba9b4a9d300b2..18a394fcc4e704621c8b5e8bc92b7cbee2fd21fe 100755
(executable)
--- a/
git-pull.sh
+++ b/
git-pull.sh
@@
-106,7
+106,7
@@
do
-s|--s|--st|--str|--stra|--strat|--strate|--strateg|--strategy)
case "$#,$1" in
*,*=*)
- strategy=
`expr "z$1" : 'z-[^=]*=\(.*\)'`
;;
+ strategy=
$(expr "z$1" : 'z-[^=]*=\(.*\)')
;;
1,*)
usage ;;
*)