MestreLion/git-tools

statistics are given in STDERR not STDOUT

Opened this issue · 1 comments

Running git-restore-mtime gives something like this:

Statistics:
         2.28 seconds
       61,827 log lines processed
        7,790 commits evaluated
           54 directory update errors
           34 directories updated
        7,758 files
        3,609 file update errors
        4,149 files updated

However, doing git-restore-mtime 2>/dev/null to discard STDERR gives no output.

The statistics should not be hidden there.

This has changed a few times over the years, and I don't remember the rationale for current behavior, if any.

In the upcoming weeks I'll be releasing a new version, so I'll look into this more closely

@kilobyte, any preferences on Debian's side?