diff options
author | Junio C Hamano <junkio@cox.net> | 2006-08-03 21:55:41 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-08-03 21:55:41 -0700 |
commit | cba05fa840b637db2708014142a753680d930082 (patch) | |
tree | 69fe98c891863e698e0eee02e52bfddb59c382bb /builtin-rm.c | |
parent | 8cdf33643dc0b21d9ea922a3fdd7f64226c421aa (diff) | |
download | git-cba05fa840b637db2708014142a753680d930082.tar.gz |
Further clean-up: usage() vs die()
This hopefully finishes the clean-up Ramsay started with recent
commit 15e593e4d37d1d350fef20ab666d58f6881c7f5f and commit
8cdf33643dc0b21d9ea922a3fdd7f64226c421aa.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'builtin-rm.c')
-rw-r--r-- | builtin-rm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin-rm.c b/builtin-rm.c index a0882bf1b0..8af3d7eb48 100644 --- a/builtin-rm.c +++ b/builtin-rm.c @@ -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)); } } |