This is a fix for #283. If the user changed the default branch name on their system, the tests would fail.
At the same time, I noticed some tests fail on my laptop with a German OS (LANG=de_DE.UTF-8). This is because we parse the output of git, which is different if the locale is not set to English. (Now that I think about it, it doesn't just affect the tests and is an actual bug, but I still left it in this PR because it is just a one-liner.)
This is a fix for #283. If the user changed the default branch name on their system, the tests would fail.
At the same time, I noticed some tests fail on my laptop with a German OS (LANG=de_DE.UTF-8). This is because we parse the output of
git
, which is different if the locale is not set to English. (Now that I think about it, it doesn't just affect the tests and is an actual bug, but I still left it in this PR because it is just a one-liner.)