projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22c67ca
)
Fix off-by-one error in git-merge
author
Junio C Hamano
<junkio@cox.net>
Tue, 13 Sep 2005 05:20:42 +0000
(22:20 -0700)
committer
Junio C Hamano
<junkio@cox.net>
Tue, 13 Sep 2005 05:52:52 +0000
(22:52 -0700)
'git-merge -s' without a strategy name does not fail and does
not give usage as it should.
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-merge.sh
patch
|
blob
|
history
diff --git
a/git-merge.sh
b/git-merge.sh
index
a784e0f
..
e51e734
100755
(executable)
--- a/
git-merge.sh
+++ b/
git-merge.sh
@@
-43,7
+43,7
@@
do
case "$#,$1" in
*,*=*)
strategy=`expr "$1" : '-[^=]*=\(.*\)'` ;;
-
0
,*)
+
1
,*)
usage ;;
*)
strategy="$2"