Skip to content

Commit b45c172

Browse files
avargitster
authored andcommitted
gc: remove trailing dot from "gc.log" line
Remove the trailing dot from the warning we emit about gc.log. It's common for various terminal UX's to allow the user to select "words", and by including the trailing dot a user wanting to select the path to gc.log will need to manually remove the trailing dot. Such a user would also probably need to adjust the path if it e.g. had spaces in it, but this should address this very common case. Signed-off-by: Ævar Arnfjörð Bjarmason <[email protected]> Suggested-by: Jan Judas <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 225bc32 commit b45c172

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin/gc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ static int report_last_gc_error(void)
502502
*/
503503
warning(_("The last gc run reported the following. "
504504
"Please correct the root cause\n"
505-
"and remove %s.\n"
505+
"and remove %s\n"
506506
"Automatic cleanup will not be performed "
507507
"until the file is removed.\n\n"
508508
"%s"),

0 commit comments

Comments
 (0)