completion: add --set-upstream-to and --unset-upstream
[gitweb.git] / builtin / reset.c
index 392fb6361ea7bd8913cfe5efdcda4c2ff04efc75..74442bd7663387ab9864927f9c0d511e04e6e379 100644 (file)
@@ -285,7 +285,7 @@ int cmd_reset(int argc, const char **argv, const char *prefix)
                        rev = argv[i++];
                } else {
                        /* Otherwise we treat this as a filename */
-                       verify_filename(prefix, argv[i]);
+                       verify_filename(prefix, argv[i], 1);
                }
        }