Skip to content

Commit 16eff6c

Browse files
peffgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent ee0e387 commit 16eff6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin/clone.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -849,7 +849,7 @@ int cmd_clone(int argc, const char **argv, const char *prefix)
849849
die_errno(_("could not create leading directories of '%s'"),
850850
work_tree);
851851
if (!dest_exists && mkdir(work_tree, 0777))
852-
die_errno(_("could not create work tree dir '%s'."),
852+
die_errno(_("could not create work tree dir '%s'"),
853853
work_tree);
854854
junk_work_tree = work_tree;
855855
set_git_work_tree(work_tree);

0 commit comments

Comments
 (0)