summaryrefslogtreecommitdiffstats
path: root/sh-i18n--envsubst.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-06-30 02:03:13 +0200
committerJunio C Hamano <gitster@pobox.com>2011-06-30 02:03:13 +0200
commit1fd7ef2e8f6b8b67f4d3be7b9ab5bbd9d8f639ec (patch)
tree0eebc6fb1c59c057e0b0b8e086a50c47adabe941 /sh-i18n--envsubst.c
parentMerge branch 'rs/grep-color' (diff)
parentWindows: teach getenv to do a case-sensitive search (diff)
downloadgit-1fd7ef2e8f6b8b67f4d3be7b9ab5bbd9d8f639ec.tar.xz
git-1fd7ef2e8f6b8b67f4d3be7b9ab5bbd9d8f639ec.zip
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 ();