- perl git bz see readme for more usage, I have had trouble with the perl version and sometimes switch to python
- koha wiki > git bz configuration
g checkout BUG # always work from a branch, helpful if it contains the BUG number
g bz apply BUG # apply patches from BUG to current branch
g bz edit BUG # lets you obsolete patches
g bz attach BUG HEAD # attach last commit to bug as patch
g bz attach BUG HEAD~N # attach last N commits as patchesFor signing off, try git alias so '!f() { git rebase --interactive --exec "git commit --amend --signoff --no-edit" HEAD~$1; }; f' which lets you sign N commits at once with g so N. Then git bz attach BUG HEAD~N to replace the existing patches. Remember
Perltidy creates a reformatted copy of the file with a .tdy extension.
brew install perltidy
perltidy path/to/file.pl
diff path/to/file.pl path/to/file.pl.tdy
perltidy -pro=.perltidyrc path/to/file.pl # specify a config file