Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Sync with maint
author
Junio C Hamano
<gitster@pobox.com>
Thu, 12 Jun 2014 19:22:38 +0000
(12:22 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Thu, 12 Jun 2014 19:22:38 +0000
(12:22 -0700)
* maint:
pull: do not abuse 'break' inside a shell 'case'
1
2
git-pull.sh
patch
|
diff1
|
diff2
|
blob
|
history
raw
|
compact
(merge:
50f84e3
9a597ed
)
diff --combined
git-pull.sh
index cfc589dc15061c8ed1797c2d91ec420b1d6f33fe,7358fac86433b61a35ad332d680ba9b4a9d300b2..18a394fcc4e704621c8b5e8bc92b7cbee2fd21fe
---
1
/
git-pull.sh
---
2
/
git-pull.sh
+++ b/
git-pull.sh
@@@
-58,11
-58,9
+58,9
@@@
pull_ff=$(git config pull.ff
case "$pull_ff" in
false)
no_ff=--no-ff
- break
;;
only)
ff_only=--ff-only
- break
;;
esac
@@@
-108,7
-106,7
+106,7
@@@
d
-s|--s|--st|--str|--stra|--strat|--strate|--strateg|--strategy)
case "$#,$1" in
*,*=*)
- strategy=
`expr "z$1" : 'z-[^=]*=\(.*\)'`
;;
+ strategy=
$(expr "z$1" : 'z-[^=]*=\(.*\)')
;;
1,*)
usage ;;
*)