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

Re: Pair Programming Workflow Suggestions

From
Tim Visher <tim.visher@gmail.com>
Date
Sep 16, 2009, 13:35 UTC
Message-ID
<c115fd3c0909160635x4d7368aeg4370668d765fd242@mail.gmail.com>
In-Reply-To
<BLU0-SMTP195165E447A0C42386D083AEE30@phx.gbl>
On Tue, Sep 15, 2009 at 2:14 PM, Sean Estabrooks <seanlkml@sympatico.ca> wrote:
Show 18 quoted lines
> On Tue, 15 Sep 2009 13:43:17 -0400
> Tim Visher <tim.visher@gmail.com> wrote:
>
> [...]
>> It would be nicer to
>> have an arbitrary number of authors that can all exist separately, but
>> I'm fairly certain that git does not support that.
>
> Tim,
>
> If you're just looking for a way to quickly switch the author information
> quickly between individual commits.  You could create a shell alias for
> each of the programmers that does:
>
>   export GIT_AUTHOR_NAME="some name" GIT_AUTHOR_EMAIL="name@where.com"
>
> This will override the global and per repo configured author information
> for all subsequent commits.

That is an interesting idea. My point is really that having a committer and an author is something that makes sense in terms of non-pairing. Especially in the OS world where developers may never even get to meet, let alone code together, one developer writes a feature somewhere and then submits it to the maintainer and the maintainer puts it in. Pairing, on the other hand, is much more tightly integrated than that. Just like in Brian's post, it's really a situation of Dev1 _&_ Dev2 wrote this feature, but one of them happened to be typing and doing most of the nitty-gritty developing. Changing the authors between committs almost seems to introduce an arbitrary level of distinction where it's no longer _both_ but _one then the other_. Does that make my question any clearer?

-- 
In Christ,

Timmy V.

http://burningones.com/
http://five.sentenc.es/ - Spend less time on e-mail
Previous: Sean EstabrooksNext: Nicolas Sebrecht
Message 3 of 7 in “Pair Programming Workflow Suggestions”
  1. Tim VisherSep 15, 2009
  2. Sean EstabrooksSep 15, 2009
  3. Tim VisherSep 16, 2009
  4. Nicolas SebrechtSep 16, 2009
  5. Tim VisherSep 20, 2009
  6. Jakub NarebskiSep 15, 2009
  7. Tim VisherSep 16, 2009

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.