From 5783dcdfe0cee8b41082556f8a9ed806a91f94a2 Mon Sep 17 00:00:00 2001 From: Richard Hartmann Date: Sat, 22 Nov 2014 09:25:36 +0100 Subject: [PATCH 1/1] mr: Make check() even more pedantic --- mr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mr b/mr index f60ce7b..300f088 100755 --- a/mr +++ b/mr @@ -1880,7 +1880,7 @@ sub getopts { } sub check { - my @env = qw(GIT_DIR GIT_WORK_TREE VCSH_COMMAND); + my @env = qw(GIT_DIR GIT_INDEX_FILE GIT_OBJECT_DIRECTORY GIT_WORK_TREE VCSH_COMMAND VCSH_DIRECTORY VCSH_REPO_NAME); foreach (@env) { die ("mr: environment variable '$_' is set. You are about to shoot your own foot.\n") if ($ENV{$_}); } -- 2.39.5