projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ace1534
)
Fix thinko in the logic to refuse unmerged path fed to git-apply-patch-script.
author
Junio C Hamano
<junkio@cox.net>
Sat, 7 May 2005 07:48:00 +0000
(
00:48
-0700)
committer
Junio C Hamano
<junkio@cox.net>
Sat, 7 May 2005 07:48:00 +0000
(
00:48
-0700)
An unmerged path is given as the sole parameter to the script, so it
should check against $# being 1, not 2.
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-apply-patch-script
patch
|
blob
|
history
diff --git
a/git-apply-patch-script
b/git-apply-patch-script
index
13ec1c4
..
0849a3e
100755
(executable)
--- a/
git-apply-patch-script
+++ b/
git-apply-patch-script
@@
-8,7
+8,7
@@
#
case "$#" in
-
2
)
+
1
)
echo >&2 "cannot handle unmerged diff on path $1."
exit 1 ;;
esac