[PATCH/RFC 0/4] Perl rewrite of Ruby git-related
- From
Eric Sunshine <sunshine@sunshineco.com>
- Date
- Jun 30, 2013, 11:08 UTC
- Message-ID
- <1372590512-21341-1-git-send-email-sunshine@sunshineco.com>
This is a Perl rewrite of Felipe Contreras' git-related v9 patch series[1] which was written in Ruby. Although that series was ejected from 'pu'[2], Junio suggested[3,4] that such functionality may be a useful addition to the official tool-chest, hence this Perl rewrite.
In this submission, the command name has changed to git-contacts since git-related felt too generic. (git-contacts seemed best of several possibilities I surveyed: git-people, git-interested, git-mentioned, git-blame-us.)
This rewrite does not maintain perfect 1-to-1 parity with Felipe's v9 series, however, it is close: minor refactoring was done to eliminate a small amount of duplicate code; patch files and revision arguments are allowed in the same invocation rather than being exclusive; "git cat-file --batch" pipe deadlock is avoided; commit messages are expanded.
No attempt is made to answer Junio's v9 review[5], as I lack sufficient insight with '-C' options to be able to respond properly.
My Perl may be rusty and idiomatic usage may be absent.
[1]: http://thread.gmane.org/gmane.comp.version-control.git/226065/ [2]: http://article.gmane.org/gmane.comp.version-control.git/229164/ [3]: http://article.gmane.org/gmane.comp.version-control.git/226425/ [4]: http://thread.gmane.org/gmane.comp.version-control.git/221728/focus=221796 [5]: http://article.gmane.org/gmane.comp.version-control.git/226265/
Eric Sunshine (4): contrib: add git-contacts helper contrib: contacts: add support for multiple patches contrib: contacts: add ability to parse from committish contrib: contacts: interpret committish akin to format-patch
contrib/contacts/git-contacts | 164 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 164 insertions(+) create mode 100755 contrib/contacts/git-contacts
-- 1.8.3.2