Skip to content

Progress Handler incompatible with non-English locales #579

@ockham

Description

@ockham

The new progress handler feature (in v2.35.0) is great -- thanks a lot for implementing it!

Here's a video of it in action. Note that while implementing this change, I found that it didn't work on my own system, whereas it worked for my coworker. I suspect that the reason is that my locale is set to German, and the RegEx that's looking for progress messages is "hard-wired" to an English progress message (Receiving objects:) -- which it can't find in git's German-language output on my system (would be Empfange Objekte: for me). (My coworker's locale is set to English.)

Would it be possible to force English by setting an environment variable (e.g. LC_ALL=C) when spawning git, in order to make the progress handler work?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions