]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/reset.c
verify_filename(): ask the caller to chose the kind of diagnosis
[thirdparty/git.git] / builtin / reset.c
index 8c2c1d52a227334a3d6456bf0989cd561628ffa0..4cc34c908446fe2d3db5acf315e47f2768ba07bd 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);
                }
        }