Skip to content

Commit fe853ce

Browse files
committed
filter-repo: add missing newline in printout
This print-out message is missing a terminating line-break. It gets partially overwritten by other text: Warning: Removing recursively: <filename> Example output: Processed 28217 blob sizesely: ".git\filter-repo\analysis" (Notice how the words "sizes" and "recursively" get combined, into "sizesely" on the first line.) Adding the missing newline will correct the output: Warning: Removing recursively: ".git\filter-repo\analysis" Processed 28217 blob sizes Signed-off-by: Göran Wallgren <[email protected]>
1 parent ccc1885 commit fe853ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-filter-repo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2903,7 +2903,7 @@ class RepoAnalyze(object):
29032903

29042904
if os.path.isdir(reportdir):
29052905
if args.force:
2906-
sys.stdout.write(_("Warning: Removing recursively: \"%s\"") % decode(reportdir))
2906+
sys.stdout.write(_("Warning: Removing recursively: \"%s\"\n") % decode(reportdir))
29072907
shutil.rmtree(reportdir)
29082908
else:
29092909
sys.stdout.write(_("Error: dir already exists (use --force to delete): \"%s\"\n") % decode(reportdir))

0 commit comments

Comments
 (0)