git-feature
git-feature copied to clipboard
make the global.sh script pull from the non-global one
it's annoying to maintain two scripts...
I just now downloaded 8ee23b1c764164d6fcd2, and ran a diff between git-feature.sh and git-feature-global.sh. Besides the addition of the --global option, the latter had what appeared to be purely cosmetic changes in the indentation and quoting styles, which perhaps are part of the annoyance in maintaining two scripts. But in addition, the -global script was missing the aliases "checkpoint" and "abandon". Are these also just casualties of maintaining two scripts separately, or is there a reason these two aliases were omitted from the -global script?
On a different note, instead of having the global script pull from the non-global one, why not have just one script and give it a --global option?