Code

Allow git commit --interactive with paths
[git.git] / builtin / commit.c
index 636aea6d6259b6151670fa6259b2eb59509a80b2..7707af884494cfe68d9c781efb7ef4c532614874 100644 (file)
@@ -1084,8 +1084,6 @@ static int parse_and_validate_options(int argc, const char *argv[],
 
        if (all && argc > 0)
                die(_("Paths with -a does not make sense."));
-       else if (interactive && argc > 0)
-               die(_("Paths with --interactive does not make sense."));
 
        if (null_termination && status_format == STATUS_FORMAT_LONG)
                status_format = STATUS_FORMAT_PORCELAIN;