git-tools icon indicating copy to clipboard operation
git-tools copied to clipboard

statistics are given in STDERR not STDOUT

Open satmandu opened this issue 1 year ago • 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.

satmandu avatar Mar 12 '24 16:03 satmandu