Skip to content

Conversation

@lenucksi
Copy link

If used on a machine with non-us or C language settings the used git command fails to parse since it does not output the desired strings.
Added a LANG=C environment making the git command output predictable.

@ExplodingCabbage
Copy link
Owner

Thanks for this, and sorry for being slow to reply - have been on holiday abroad for two weeks and only just saw it.

Will review tonight and merge as long as I can understand it!

@ExplodingCabbage
Copy link
Owner

Are you sure this is actually necessary? Looking at https://github.com/git/git/blob/d67f9d5e8fd2c165304153a87fd96054d2b74981/builtin/clean.c#L31 it seems that this message is not localized, and I can't reproduce it being different by changing my system language to e.g. Turkish, Russian or German.

@lenucksi
Copy link
Author

Using OS X and ArchLinux on multiple boxes the message was found to be localized.

Using LANG=C has no negative side effects, it just ensures english language messages.

ExplodingCabbage added a commit that referenced this pull request Apr 13, 2015
handle non-us language environments properly
@ExplodingCabbage ExplodingCabbage merged commit 221fb4f into ExplodingCabbage:master Apr 13, 2015
@ExplodingCabbage
Copy link
Owner

Good enough for me. Thanks for the contribution and sorry it took me so long to get around to merging it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants