A tip: a workaround to view git blame of server.yml and client.yml

When translating, it’s often useful to see the commit the string in question comes from. For that purpose, I check the blame file from Github, for instance https://github.com/discourse/discourse/blame/master/config/locales/server.en.yml. Now, if you click the link, you are highly likely to see a picture of an unicorn instead of what you were looking for. The issue has been there for quite some time now and is only getting worse and worse as these two major YML-files get larger.

I just came up with a workaround which I wanted to share with you.

  1. Go to the file discourse/server.en.yml at master · discourse/discourse · GitHub or discourse/client.en.yml at master · discourse/discourse · GitHub.

  2. Scroll to the bottom.

  3. Hit some row number there and then “view git blame”.

After some testing I can confirm: this method avoids the unicorn with a very high likelyhood. Enjoy!