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
SBSanti Béjar <sbejar@gmail.com>
Date
Apr 30, 2008, 19:23 UTC
Message-ID
<8aa486160804301223w574fe425n5d0678020ff1e7b4@mail.gmail.com>
In-Reply-To
<20080430163701.GA6544@sigill.intra.peff.net>
On Wed, Apr 30, 2008 at 6:37 PM, Jeff King <peff@peff.net> wrote:
Show 11 quoted lines
>  Actually, thinking about this a bit more (and using it), I'm not sure
>  that the best rule for showing the committer is "differs from the
>  previous committer." For example, if I am building on Junio's git.git,
>  the committer name is shown, even though I have made many commits in
>  this repo already.
>
>  So if the goal is to show the committer name only when it "matters", I
>  don't think you have succeeded.
>
>  -Peff
>
On Wed, Apr 30, 2008 at 7:52 PM, Alex Riesen <raa.lkml@gmail.com> wrote:
>  I like the idea in general, but the implementation could be refined.
>  Maybe consider looking at user.name (whether the repo has an ident
>  set)? This is usually done conciously, and the user wont need this
>  reminder.
Maybe only show the committer ident when both happens:
1) the committer ident is different from the parent
2) the committer ident is set automatically
Santi
P.D.: Jeff, thanks for the amending patch.
Previous: Jeff KingNext: Jeff King
Message 8 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.