Code

remote.c: remove useless if-before-free test
[git.git] / revision.c
index 3897fec53170c50921eb1952bc4bdf9c08480638..e75079a6e1316c74b4dff702170134dc7559898f 100644 (file)
@@ -1002,7 +1002,7 @@ static int handle_revision_opt(struct rev_info *revs, int argc, const char **arg
            !strcmp(arg, "--no-walk") || !strcmp(arg, "--do-walk"))
        {
                unkv[(*unkc)++] = arg;
-               return 0;
+               return 1;
        }
 
        if (!prefixcmp(arg, "--max-count=")) {