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

Re: [PATCH v8 2/2] ident: add user.useConfigOnly boolean for when ident shouldn't be guessed

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 5, 2016, 23:19 UTC
Message-ID
<xmqqsi16bv8p.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<1454711337-25508-3-git-send-email-alonid@gmail.com>
Dan Aloni <alonid@gmail.com> writes:
Show 8 quoted lines
> +user.useConfigOnly::
> +	Instruct Git to avoid trying to guess defaults for 'user.email'
> +	and 'user.name', and instead retrieve the values only from the
> +	configuration. For example, if you have multiple email addresses
> +	and would like to use a different one for each repository, then
> +	with this configuration option set to `true` in the global config
> +	along with a name, Git will prompt you to set up an email upon
> +	making new commits in a newly cloned repository.

I do not think this is wrong per-se, but s/upon/before/ may be more accurate and would assure the users more that no commits with a wrong identity will be created.

Other than that, these two patches look very good to me.
Thanks.
Previous: Dan Aloni
Message 4 of 4 in “ident: add user.useConfigOnly boolean for when ident shouldn't be guessed”
  1. ident: add user.useConfigOnly boolean for when ident shouldn't be guessedDan Aloni, Feb 5, 2016
  2. 1/2 fmt_ident: refactor strictness checksDan Aloni, Feb 5, 2016
  3. 2/2 ident: add user.useConfigOnly boolean for when ident shouldn't be guessedDan Aloni, Feb 5, 2016
  4. Junio C HamanoFeb 5, 2016

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.