git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Add new git-cc-cmd helper to contrib

From
Ramkumar Ramachandra <artagnon@gmail.com>
Date
Nov 11, 2012, 17:18 UTC
Message-ID
<CALkWK0ksDBbWfxbT=PbKiWaC87vghTADPqcy+ujgJ9iZOVZv0w@mail.gmail.com>
In-Reply-To
<1352653804-2203-1-git-send-email-felipe.contreras@gmail.com>
Hi Felipe,
Felipe Contreras wrote:
Show 6 quoted lines
> The code finds the changes in each commit in the list, runs 'git blame'
> to see which other commits are relevant to those lines, and then adds
> the author and signer to the list.
>
> Finally, it calculates what percentage of the total relevant commits
> each person was involved in, and if it passes the threshold, it goes in.
This is very cool.
Show 7 quoted lines
> diff --git a/contrib/cc-cmd/git-cc-cmd b/contrib/cc-cmd/git-cc-cmd
> new file mode 100755
> index 0000000..17b14d4
> --- /dev/null
> +++ b/contrib/cc-cmd/git-cc-cmd
> @@ -0,0 +1,186 @@
> +#!/usr/bin/env ruby

Just out of curiosity, why didn't you write it in Python? (I noticed that you wrote remote-hg and remote-bzr in Python, and assumed that it was your preferred language)

> +$alias_file = "~/.mutt/aliases"
Please read sendemail.aliasfiletype instead of assuming mutt.
Ram
Previous: Felipe ContrerasNext: Felipe Contreras
Message 2 of 4 in “Add new git-cc-cmd helper to contrib”
  1. Add new git-cc-cmd helper to contribFelipe Contreras, Nov 11, 2012
  2. Ramkumar RamachandraNov 11, 2012
  3. Felipe ContrerasNov 11, 2012
  4. Ramkumar RamachandraDec 6, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.