feat: add support for detached head#12
Conversation
|
For the moment, it seems great! You can find all locales here : https://github.com/git/git/tree/master/po To build and test, you also can use Thanks! |
|
Got it, thanks for the feedback! I'll work on adding the other languages soon as well once we sort out #13. |
d9062bd to
6ee8fb3
Compare
|
I've added support for the 17 languages in the README. (and ordered in the same order as the languages in the I've also added tests and ran Note: I've only added the "HEAD detached at %s" variant, not the "HEAD detached from %s" variant. Two reasons: (1) I've not yet encountered "from" variant in my own tests, and (2) Mike's |
|
I'll wait for your #17 to be merged in first, then I'll add the bg translation alongside this PR as well. |
6ee8fb3 to
b7fa5b2
Compare
|
Nice job! |
This PR adds support back for detached head commits which takes this form (in English)
in the COMMIT_EDITMSG file. (this was originally supported by the-mikedavis/tree-sitter-git-commit, so most credits go to Mike).
Log:
tree-sitter generate,tree-sitter test. Let me know if I missed out any files in my PR.