Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

statistics are given in STDERR not STDOUT #71

Open
satmandu opened this issue Mar 12, 2024 · 1 comment
Open

statistics are given in STDERR not STDOUT #71

satmandu opened this issue Mar 12, 2024 · 1 comment
Assignees
Milestone

Comments

@satmandu
Copy link

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.

@MestreLion
Copy link
Owner

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?

@MestreLion MestreLion added this to the v2024.4 milestone Mar 13, 2024
@MestreLion MestreLion self-assigned this Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants