mirror of
https://github.com/rclone/rclone.git
synced 2025-08-16 00:28:09 +02:00
bisync: clarify file operation directions in dry-run logs - fixes #7029
Before this change, NOTICE log messages during bisync dry runs were unclear as to the direction of the skipped operation (Path1 to 2 vs. 2 to 1.) This change adjusts the cmd/bisync/log.go indent function to be more expressive about direction.
This commit is contained in:
@ -29,6 +29,10 @@ func (b *bisyncRun) indent(tag, file, msg string) {
|
||||
logf = fs.Logf
|
||||
}
|
||||
|
||||
if b.opt.DryRun {
|
||||
logf = fs.Logf
|
||||
}
|
||||
|
||||
if tag == "Path1" {
|
||||
tag = Color(terminal.CyanFg, "Path1")
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user