Skip to content

Instantly share code, notes, and snippets.

View rimrul's full-sized avatar

Matthias Aßhauer rimrul

  • 18:32 (UTC +02:00)
View GitHub Profile
#!/usr/bin/python3
import polib
import sys
def main (f):
po = polib.pofile(f, wrapwidth=0)
priorities = {"en/git-init.txt":300,"en/git-clone.txt":300,"en/urls.txt":300,"en/git-add.txt":280,"en/git-status.txt":280,"en/git-diff.txt":280,"en/diff-options.txt":280,"en/diff-format.txt":280,"en/git-commit.txt":280,"en/date-formats.txt":280,"en/i18n.txt":280,"en/git-reset.txt":280,"en/git-rm.txt":280,"en/git-mv.txt":280,"en/git-show.txt":260,"en/pretty-options.txt":260,"en/pretty-formats.txt":260,"en/diff-generate-patch.txt":260,"en/git-log.txt":260,"en/line-range-format":260,"en/rev-list-options.txt":260,"en/git-shortlog.txt":260,"en/mailmap.txt":260,"en/git-describe.txt":260,"en/git-branch.txt":240,"en/git-checkout.txt":240,"en/git-merge.txt":240,"en/merge-options.txt":240,"en/merge-strategies.txt":240,"en/config/merge.txt":240,"en/config/fmt-merge-msg.txt":240,"en/mergetools-merge.txt":240,"en/git-mergetool.txt":240,"en/git-stash.txt":240,"en/git-tag.txt":240,"en/git-worktree.txt":240,"en/git-fetch.txt"
time ./t3903-stash.sh && time ./t3904-stash-patch.sh && time ./t3905-stash-include-untracked.sh && time ./t3906-stash-submodule.sh
ok 1 - stash some dirty working directory
ok 2 - parents of stash
ok 3 - applying bogus stash does nothing
ok 4 - apply does not need clean working directory
ok 5 - apply does not clobber working directory changes
ok 6 - apply stashed changes
ok 7 - apply stashed changes (including index)
ok 8 - unstashing in a subdirectory
ok 9 - stash drop complains of extra options