git-verify-pack: buffer overrun paranoia
[gitweb.git] / builtin-rm.c
index a0882bf1b045c1db91511e5e7c156a3198eb4c82..8af3d7eb48e70dc9a640c2e96a058903fb9fddd8 100644 (file)
@@ -115,7 +115,7 @@ int cmd_rm(int argc, const char **argv, const char *prefix)
                printf("rm '%s'\n", path);
 
                if (remove_file_from_cache(path))
-                       die("git rm: unable to remove %s", path);
+                       die("git-rm: unable to remove %s", path);
                cache_tree_invalidate_path(active_cache_tree, path);
        }
 
@@ -139,7 +139,7 @@ int cmd_rm(int argc, const char **argv, const char *prefix)
                                continue;
                        }
                        if (!removed)
-                               die("git rm: %s: %s", path, strerror(errno));
+                               die("git-rm: %s: %s", path, strerror(errno));
                }
        }