Skip to content

Commit 09376fa

Browse files
committed
filter-repo: log readme file
Make the reports README file more discoverable by logging it. Further, to allow control+click opening of the file inside certain terminals/IDEs, add quotes around the filename. Add quotes around the directory that is already displayed as well, for the same reason. Signed-off-by: Diego Mateos <[email protected]>
1 parent 5d63e44 commit 09376fa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

git-filter-repo

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2915,10 +2915,11 @@ class RepoAnalyze(object):
29152915
stats = RepoAnalyze.gather_data(args)
29162916

29172917
# Write the reports
2918-
sys.stdout.write(_("Writing reports to %s...") % decode(reportdir))
2918+
sys.stdout.write(_("Writing reports to \"%s\"...") % decode(reportdir))
29192919
sys.stdout.flush()
29202920
RepoAnalyze.write_report(reportdir, stats)
29212921
sys.stdout.write(_("done.\n"))
2922+
sys.stdout.write(_("README: \"%s\"\n") % decode( os.path.join(reportdir, b"README") ))
29222923

29232924
class FileInfoValueHelper:
29242925
def __init__(self, replace_text, insert_blob_func, source_working_dir):

0 commit comments

Comments
 (0)