git-icing: sugary wrapper around git-cherry
- From
Adam Spiers <git@adamspiers.org>
- Date
- Apr 27, 2013, 13:21 UTC
- Message-ID
- <20130427132118.GA25295@pacific.linksys.moosehall>
Hi all,
I just wrote a wrapper around git cherry which adds a splash of colour, and facilitates exclusion of commits which should never be upstreamed, by using a git-notes(1) namespace as a blacklist.
It's just a quick hack and Ruby probably won't be to everyone's taste, but I thought I'd mention it just in case it's of use / interest.
https://github.com/aspiers/git-config/blob/master/bin/git-icing
I'm not sure whether it would make sense to move this functionality into git cherry itself. Adding (optional) colour support would bring it in line with some of the other porcelain, I suppose.
There are other git utilities in that repository which may also be of interest:
https://github.com/aspiers/git-config/blob/master/README.md
(I do not claim that any of them are beautiful code, but they work for me ;-)
Regards, Adam