diff options
author | Jeff King <peff@peff.net> | 2015-03-18 15:02:01 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-03-19 13:38:36 -0700 |
commit | 16eff6c009c0af430975d44c0af98262f1edb549 (patch) | |
tree | 514812d4cf1260aede96dbc5b3223b65e605474f /builtin | |
parent | clone: initialize atexit cleanup handler earlier (diff) | |
download | tgif-16eff6c009c0af430975d44c0af98262f1edb549.tar.xz |
clone: drop period from end of die_errno message
We do not usually end our errors with a full stop, but it
looks especially bad when you use die_errno, which adds a
colon, like:
fatal: could not create work tree dir 'foo'.: No such file or directory
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/clone.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/clone.c b/builtin/clone.c index ee24162ca4..3c5ba0ab25 100644 --- a/builtin/clone.c +++ b/builtin/clone.c @@ -849,7 +849,7 @@ int cmd_clone(int argc, const char **argv, const char *prefix) die_errno(_("could not create leading directories of '%s'"), work_tree); if (!dest_exists && mkdir(work_tree, 0777)) - die_errno(_("could not create work tree dir '%s'."), + die_errno(_("could not create work tree dir '%s'"), work_tree); junk_work_tree = work_tree; set_git_work_tree(work_tree); |