projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8f6b34
)
git-whatchanged: exit out early on errors
author
Linus Torvalds
<torvalds@osdl.org>
Wed, 25 Jan 2006 22:02:10 +0000
(17:02 -0500)
committer
Junio C Hamano
<junkio@cox.net>
Wed, 25 Jan 2006 22:44:55 +0000
(14:44 -0800)
If we get an error parsing the arguments, exit.
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-whatchanged.sh
patch
|
blob
|
history
diff --git
a/git-whatchanged.sh
b/git-whatchanged.sh
index
80e2500
..
d4f985b
100755
(executable)
--- a/
git-whatchanged.sh
+++ b/
git-whatchanged.sh
@@
-4,7
+4,7
@@
USAGE='[-p] [--max-count=<n>] [<since>..<limit>] [--pretty=<format>] [-m] [git-d
SUBDIRECTORY_OK='Yes'
. git-sh-setup
-diff_tree_flags=$(git-rev-parse --sq --no-revs --flags "$@")
+diff_tree_flags=$(git-rev-parse --sq --no-revs --flags "$@")
|| exit
test -z "$diff_tree_flags" &&
diff_tree_flags=$(git-repo-config --get whatchanged.difftree)
test -z "$diff_tree_flags" &&