projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
adc3b2b
)
sh-i18n--envsubst: do not crash when no arguments are given
author
Johannes Sixt
<j6t@kdbg.org>
Mon, 6 Jun 2011 06:59:10 +0000
(08:59 +0200)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 6 Jun 2011 18:35:00 +0000
(11:35 -0700)
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
sh-i18n--envsubst.c
patch
|
blob
|
history
diff --git
a/sh-i18n--envsubst.c
b/sh-i18n--envsubst.c
index 71250930dba09fbc6b1b638230cfa30253915a26..81049739b6e9a37e3e745fb0666b2965ad09225e 100644
(file)
--- a/
sh-i18n--envsubst.c
+++ b/
sh-i18n--envsubst.c
@@
-74,6
+74,7
@@
main (int argc, char *argv[])
{
case 1:
error ("we won't substitute all variables on stdin for you");
+ break;
/*
all_variables = 1;
subst_from_stdin ();