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

Re: Please fix the useless email prompts

From
Anatolii Borodin <anatoly.borodin@gmail.com>
Date
Aug 20, 2017, 21:57 UTC
Message-ID
<CACNzp2kao+hu6a2nO=gVaLctzoDauB+xyj=cfQLUdNOXTNKQfQ@mail.gmail.com>
In-Reply-To
<CAH5451m58n8mYvt=BC_t2=EAv0HOOdAWrCHCNEPQ3NVjT174nQ@mail.gmail.com>
Hi Andrew,
On Sun, Aug 20, 2017 at 2:40 PM, Andrew Ardill <andrew.ardill@gmail.com> wrote:
> Maybe I am missing something obvious, but if that's the case then
> can't we just do the identity check when trying to make new commits,
> in which case you should be able to pull without setting your
> identity?

`git pull` is `git fetch + git merge / git rebase` in disguise, so we should be ready if git will want to create a merge commit or do a rebase automatically (and potentially create new commits with `Committer` set to the current user). `git fetch` and `git clone` alone, `git branch`, `git checkout` etc don't care about the email (as of 2.14.1), even if `user.useConfigOnly` is set to `true`.

-- 
Mit freundlichen Grüßen,
Anatolii Borodin
Previous: Andrew ArdillNext: Andrew Ardill
Message 8 of 13 in “Please fix the useless email prompts”
  1. Jeffrey WaltonAug 19, 2017
  2. Junio C HamanoAug 19, 2017
  3. Jeffrey WaltonAug 19, 2017
  4. Patryk ObaraAug 19, 2017
  5. Jeff KingAug 20, 2017
  6. Kaartic SivaraamAug 20, 2017
  7. Andrew ArdillAug 20, 2017
  8. Anatolii BorodinAug 20, 2017
  9. Andrew ArdillAug 20, 2017
  10. Junio C HamanoAug 20, 2017
  11. Jeff KingAug 23, 2017
  12. Junio C HamanoAug 23, 2017
  13. Anatolii BorodinAug 20, 2017

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.