git-p4: Unset P4DIFF environment variable when using 'p4 -du diff'
[gitweb.git] / fast-import.c
index 7f197d5e36ae977e21251dbb45fa72973ea7830f..655913ddb27f758ce494fc18551e852c9a6aa9f1 100644 (file)
@@ -2291,7 +2291,8 @@ static void cmd_reset_branch(void)
        else
                b = new_branch(sp);
        read_next_command();
-       if (!cmd_from(b) && command_buf.len > 0)
+       cmd_from(b);
+       if (command_buf.len > 0)
                unread_command_buf = 1;
 }