Skip to content

Instantly share code, notes, and snippets.

@AleksandrMihhailov
Created January 24, 2019 13:44
Show Gist options
  • Save AleksandrMihhailov/6267ce258bb4fd0a9a97f077f60ac0be to your computer and use it in GitHub Desktop.
Save AleksandrMihhailov/6267ce258bb4fd0a9a97f077f60ac0be to your computer and use it in GitHub Desktop.
bug with translation in git cli
# first option to remove translation catalogue
/usr/local/Cellar/git/{version}/share/locale/ru
# second option to reinstall git with some options
$ brew uninstall git
$ brew edit git
<<<
- depends_on "gettext"
+ depends_on "gettext" :optional
<<<
- args = %W[
+ ENV["NO_GETTEXT"] = "1" if build.without? "gettext"
+
+ args = %W[
<<<
:wq
$ brew install -s git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment