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

Re: [PATCH 3/3] commit: Show the committer ident when is different from the parent

From
Jeff King <peff@peff.net>
Date
May 1, 2008, 13:51 UTC
Message-ID
<20080501135109.GA10135@sigill.intra.peff.net>
In-Reply-To
<8aa486160805010134l4746f9afhec546a9d49fd7a6d@mail.gmail.com>
On Thu, May 01, 2008 at 10:34:44AM +0200, Santi Béjar wrote:
Show 10 quoted lines
> >  > 1) the committer ident is different from the parent
> >  > 2) the committer ident is set automatically
> >
> >  Honestly, I think just "2)" is probably fine (where automatically
> >  presumably means "from GECOS"). I see what you are trying to accomplish
> >  with "1)", but it's so workflow specific as to be useless.
> 
> I don't see "1) as workflow specific, it is there to minimize the
> number of time it is shown, ie somebody might prefer the automatic
> ident, so as long as it does not change it is not shown.

Yes, but whether it actually succeeds in minimizing is dependent on the workflow of the user. I.e., it works great if I tend to build on small, personal repositories (or topic branches), or if I tend to receive other people's work by patches that I commit myself. But if I am pulling from somebody else's repo (as many of us do from git.git), or if I use a shared repo with the other committers, then I am very likely to be building on a parent that was committed by somebody else (and consequently will see the committer mentioned way more often than was intended).

-Peff
Previous: Santi BéjarNext: Junio C Hamano
Message 11 of 15 in “Show author and/or committer in some cases”
  1. 0/3 Show author and/or committer in some casesSanti Béjar, Apr 30, 2008
  2. 1/3 Preparation to call determine_author_info from prepare_to_commitSanti Béjar, Apr 30, 2008
  3. 2/3 commit: Show author if different from committerSanti Béjar, Apr 30, 2008
  4. 3/3 commit: Show the committer ident when is different from the parentSanti Béjar, Apr 30, 2008
  5. Jeff KingApr 30, 2008
  6. Jeff KingApr 30, 2008
  7. Jeff KingApr 30, 2008
  8. Santi BéjarApr 30, 2008
  9. Jeff KingApr 30, 2008
  10. Santi BéjarMay 1, 2008
  11. Jeff KingMay 1, 2008
  12. Junio C HamanoMay 1, 2008
  13. Jeff KingMay 1, 2008
  14. Santi BéjarMay 2, 2008
  15. Alex RiesenApr 30, 2008

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.