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

Re: "commit --author=..." does not work if global email and name is not set

From
Piotr Krukowiecki <piotr.krukowiecki@gmail.com>
Date
Apr 9, 2019, 07:03 UTC
Message-ID
<CAA01CsrO8NyzG8zfRY3=k5T2EvPJvJzMrfBgH19=ib-x69mEQg@mail.gmail.com>
In-Reply-To
<xmqq7ec38zam.fsf@gitster-ct.c.googlers.com>
On Tue, Apr 9, 2019 at 8:31 AM Junio C Hamano <gitster@pobox.com> wrote:
> I do not think 4. is what Jakub meant, which is to make the author
> and committer identity for real humans come from the configuration
> that becomes in effect automatically by merely logging in.
Unfortunately this is not possible
> If that cannot be arranged, something like 4. may have to serve as a
> rough approximation; that sound like the best you could do under
> that limitation without breaking the general usability of the
> system.
What do you think about my "--user" idea?
-- 
Piotr Krukowiecki
Previous: Junio C HamanoNext: Jakub Narebski
Message 9 of 10 in “"commit --author=..." does not work if global email and name is not set”
  1. Piotr KrukowieckiApr 5, 2019
  2. Junio C HamanoApr 5, 2019
  3. Jakub NarebskiApr 6, 2019
  4. Junio C HamanoApr 8, 2019
  5. Piotr KrukowieckiApr 8, 2019
  6. Jakub NarebskiApr 8, 2019
  7. Piotr KrukowieckiApr 8, 2019
  8. Junio C HamanoApr 9, 2019
  9. Piotr KrukowieckiApr 9, 2019
  10. Jakub NarebskiApr 9, 2019

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.