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

Re: [PATCH 0/2] Show committer ident in some cases

From
Junio C Hamano <gitster@pobox.com>
Date
May 2, 2008, 22:32 UTC
Message-ID
<7vbq3owd4o.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<8aa486160805021507s44d7946ejc48ac8a4af08e8cc@mail.gmail.com>
"Santi Béjar" <sbejar@gmail.com> writes:
Show 15 quoted lines
> On Fri, May 2, 2008 at 11:44 PM, Junio C Hamano <gitster@pobox.com> wrote:
>> Santi Béjar <sbejar@gmail.com> writes:
>>
>>  > The definition of "wrong committer" could be:
>>  >
>>  > 1) user.{name,email} or GIT_COMMITTER_{NAME,EMAIL} is not a wrong committer.
>>  > 2) automatic without a domain name (user@hostname.(none)) is a wrong committer.
>>  >    (not handled with this patch series)
>>  > 3) automatic or partially set ident:
>>  >    a) wrong committer for some users
>>  >    b) right committer for others
>>
>>  Define "partially set".
>
> one of user.{name,email} is not set.
Hmmm.  Then perhaps the list can be simplified as follows?
 * Both name and email are explicitly given (i.e. user.* or
   GIT_COMMITTER_* specifies them) --- no complaints.
 * For email, ending with ".(none)" and "@" followed by something without
   a dot is wrong but everything else are Ok.
 * Everything else falls into (3)
There is no "partially" then.

By the way, wasn't it you who wanted to refuse use of user.name _and_ user.email that come from ~/.gitconfig, so that you can be sure you use different pseudonym for each project?

Previous: Santi BéjarNext: Santi Béjar
Message 8 of 11 in “Show committer ident in some cases”
  1. 0/2 Show committer ident in some casesSanti Béjar, May 2, 2008
  2. 1/2 commit: Show committer if automaticSanti Béjar, May 2, 2008
  3. Junio C HamanoMay 3, 2008
  4. Santi BéjarMay 3, 2008
  5. 2/2 user.warnautomatic: add config to control if the committer ident is shownSanti Béjar, May 2, 2008
  6. Junio C HamanoMay 2, 2008
  7. Santi BéjarMay 2, 2008
  8. Junio C HamanoMay 2, 2008
  9. Santi BéjarMay 3, 2008
  10. Jeff KingMay 5, 2008
  11. Junio C HamanoMay 5, 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.