git: remove an early return from save_env_before_alias()
[gitweb.git] / git.c
diff --git a/git.c b/git.c
index 98d441220a29f2b660a0bb37412ff1ec98453412..a57a4cb4694e34bd49ed59d9d9cabf5b19e4d169 100644 (file)
--- a/git.c
+++ b/git.c
@@ -30,8 +30,6 @@ static int saved_env_before_alias;
 static void save_env_before_alias(void)
 {
        int i;
-       if (saved_env_before_alias)
-               return;
        saved_env_before_alias = 1;
        orig_cwd = xgetcwd();
        for (i = 0; i < ARRAY_SIZE(env_names); i++) {