Find an instance of a string in git core with git grep '

I found a minor issue in git

(poor spanish translation) and reported it to the vita git mailing list .

I was told by the developer that it would be great if I could: clone the git repo , find files containing the bad translation with help git grep

, fix it, and commit.

The fact is that with the help git grep

I do not find files where there may be a bad translation.

This is exactly the bad translation:

Su rama estΓ‘ delante de <<origin/master<< para 6 commits.

      

and he must say:

Su rama estΓ‘ delante de <<origin/master<< por 6 commits.

      

(i.e. para

should be por

).

To find a suggestion, I've tried:

git grep 'delante'
git grep 'delante' -- '*.[ch]'

      

as shown in the git-grep examples , but both commands return empty.

What am I doing wrong? I am using git version 1.9.1

BTW.

+3


source to share


1 answer


Apparently the problem was that the proposal is not in git

, but rather in its Spanish translation of Ubuntu: https://translations.launchpad.net/ubuntu/quantal/+source/git/+pots/git/es/+ filter? person = franciscomol



I offered fixed translation there.

+1


source







All Articles