summaryrefslogtreecommitdiff
path: root/sh-i18n--envsubst.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-06-29 17:03:13 -0700
committerJunio C Hamano <gitster@pobox.com>2011-06-29 17:03:13 -0700
commit1fd7ef2e8f6b8b67f4d3be7b9ab5bbd9d8f639ec (patch)
tree0eebc6fb1c59c057e0b0b8e086a50c47adabe941 /sh-i18n--envsubst.c
parent1692d0c64a6386ae08d12ed90c9d975911451cbe (diff)
parentdf599e9612788b728ce43a03159b85f1fe624d6a (diff)
downloadgit-1fd7ef2e8f6b8b67f4d3be7b9ab5bbd9d8f639ec.tar.gz
Merge branch 'js/i18n-windows'
* js/i18n-windows: Windows: teach getenv to do a case-sensitive search mingw.c: move definition of mingw_getenv down sh-i18n--envsubst: do not crash when no arguments are given
Diffstat (limited to 'sh-i18n--envsubst.c')
-rw-r--r--sh-i18n--envsubst.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sh-i18n--envsubst.c b/sh-i18n--envsubst.c
index 9d2e971a27..5ddd6886c8 100644
--- a/sh-i18n--envsubst.c
+++ b/sh-i18n--envsubst.c
@@ -73,6 +73,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 ();