In 6a85525 I translated git-diff, a page where are 9 examples for the command. Should we remove one of them? Maybe.. the fifth? I refer to the one dedicated to show just the filenames of the changed files:
- Show only names of changed files since a given commit:
git diff --name-only {{commit}}
This issue is very relevant for me due I am translating all the git commands to Spanish (#3727), so I need to know if I should keep this in the Spanish translation or if we should change the English page to remove one and then commit another change removing it for the translation I did.
We should... now the question is, how did this page pass the lint test?
@zdroid that's because it is a Spanish page, and pages of various languges are not linted:
https://github.com/tldr-pages/tldr/blob/13feab2bfda2ffdfaf97468ca178182c5b6463cb/scripts/test.sh#L14
This issue has been known for a while and requires an update of the linter since it is broken for a large number of Unicode characters.
Oh wait, scratch that. The linter does not check for the number of examples at all. Forgot about that.
I'm okay with removing the 5th or any of the last 2 examples.
By mistake I pushed to master again, so it got closed automatically.
Most helpful comment
@zdroid that's because it is a Spanish page, and pages of various languges are not linted:https://github.com/tldr-pages/tldr/blob/13feab2bfda2ffdfaf97468ca178182c5b6463cb/scripts/test.sh#L14
This issue has been known for a while and requires an update of the linter since it is broken for a large number of Unicode characters.
Oh wait, scratch that. The linter does not check for the number of examples at all. Forgot about that.