projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
654291a
)
[PATCH] Make sure we die if we don't get enough arguments.
author
Fredrik Kuivinen
<freku045@student.liu.se>
Mon, 12 Sep 2005 21:31:22 +0000
(23:31 +0200)
committer
Junio C Hamano
<junkio@cox.net>
Mon, 12 Sep 2005 21:53:59 +0000
(14:53 -0700)
Signed-off-by: Fredrik Kuivinen <freku045@student.liu.se>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-merge-fredrik.py
patch
|
blob
|
history
diff --git
a/git-merge-fredrik.py
b/git-merge-fredrik.py
index
e4c6fe3
..
27b8486
100755
(executable)
--- a/
git-merge-fredrik.py
+++ b/
git-merge-fredrik.py
@@
-392,6
+392,9
@@
def usage():
# This strategy module figures out merge bases itself, so we only
# get heads.
+if len(sys.argv) < 4:
+ usage()
+
for nextArg in xrange(1, len(sys.argv)):
if sys.argv[nextArg] == '--':
if len(sys.argv) != nextArg + 3: