From: Junio C Hamano <gitster@pobox.com>
To: Felipe Contreras <felipe.contreras@gmail.com>
Cc: git@vger.kernel.org, Ramkumar Ramachandra <artagnon@gmail.com>
Subject: Re: [PATCH v2 1/8] Add new git-cc-cmd helper to contrib
Date: Fri, 19 Apr 2013 12:24:20 -0700 [thread overview]
Message-ID: <7v8v4e1fyz.fsf@alter.siamese.dyndns.org> (raw)
In-Reply-To: <CAMP44s3YAq66MrOR5a4ydujKR5+ZNMVV4i=JzPCxLXC244b52g@mail.gmail.com> (Felipe Contreras's message of "Fri, 19 Apr 2013 12:35:09 -0500")
Felipe Contreras <felipe.contreras@gmail.com> writes:
> On Fri, Apr 19, 2013 at 12:08 PM, Junio C Hamano <gitster@pobox.com> wrote:
>> Felipe Contreras <felipe.contreras@gmail.com> writes:
>>> The code finds the changes of a commit, runs 'git blame' for each chunk
>>> to see which other commits are relevant, and then reports the author and
>>> signers.
>>
>> In general, I am not all that interested in adding anything new to
>> contrib/ as git.git has matured enough, but even if this will stay
>> outside my tree, there are a few interesting things to note to help
>> its eventual users.
>
> Why not add it to mainline git then? This tool, or a similar one,
> would certainly be useful in the git arsenal.
As to this particular "feature" (the goal it tries to achieve, not
necessarily the implementation), that actually was the first thing
that came to my mind. It helps the "develop, review locally,
format-patch, decide whom to ask reviews and then send it out"
workflow in general to have a tool that tells you who are the people
involved in the code you are touching.
If this were _only_ to be used within send-email (i.e. replacing the
"then send it out" above with "then use send-email" to limit the
usecase), "git cc-cmd" would be a reasonable name. But if that is
the intended use case, it would even be more reasonable to make this
logic part of send-email and trigger it with --auto-cc-reviewers
option or something.
But I think it can be useful outside the context of send-email as
well, and having one independent tool that does one single job well
is a better design. Perhaps it is better to name it less specific
to send-email's cc-cmd option. "git people"? "git whom"? "git
reviewers"? I dunno, but along those lines.
It is OK for a design demonstration prototype to be written in any
language others (who can comment on the design) can read, but the
version to be a first-class citizen needs to be written in one of
the languages such as C, POSIX shell, or Perl to avoid adding extra
dependencies to the users.
next prev parent reply other threads:[~2013-04-19 19:24 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-19 5:14 [PATCH v2 0/8] New git-cc-cmd helper Felipe Contreras
2013-04-19 5:14 ` [PATCH v2 1/8] Add new git-cc-cmd helper to contrib Felipe Contreras
2013-04-19 13:26 ` Ramkumar Ramachandra
2013-04-19 16:30 ` Felipe Contreras
2013-04-19 17:08 ` Junio C Hamano
2013-04-19 17:35 ` Felipe Contreras
2013-04-19 19:24 ` Junio C Hamano [this message]
2013-04-19 19:35 ` Felipe Contreras
2013-04-19 19:56 ` Junio C Hamano
2013-04-19 20:05 ` Johannes Sixt
2013-04-20 20:22 ` Junio C Hamano
2013-04-22 7:30 ` Jeremy Rosen
2013-04-19 20:08 ` Junio C Hamano
2013-04-19 5:14 ` [PATCH v2 2/8] contrib: cc-cmd: add option parsing Felipe Contreras
2013-04-19 5:14 ` [PATCH v2 3/8] contrib: cc-cmd: add support for multiple patches Felipe Contreras
2013-04-19 5:14 ` [PATCH v2 4/8] contrib: cc-cmd: add option to show commits Felipe Contreras
2013-04-19 5:14 ` [PATCH v2 5/8] contrib: cc-cmd: add option to parse from committish Felipe Contreras
2013-04-19 17:59 ` Junio C Hamano
2013-04-19 18:29 ` Felipe Contreras
2013-04-19 5:14 ` [PATCH v2 6/8] contrib: cc-cmd: parse committish like format-patch Felipe Contreras
2013-04-19 5:14 ` [PATCH v2 7/8] contrib: cc-cmd: fix parsing of rev-list args Felipe Contreras
2013-04-19 5:14 ` [PATCH v2 8/8] contrib: cc-cmd: add option to fetch aliases Felipe Contreras
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7v8v4e1fyz.fsf@alter.siamese.dyndns.org \
--to=gitster@pobox.com \
--cc=artagnon@gmail.com \
--cc=felipe.contreras@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).