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

Re: [PATCH v7 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, 22:20 UTC
Message-ID
<xmqqwpqibxz2.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<20160205214832.GA10052@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
> This is sort-of about "commit", which would put it in the t75xx range.
> But in some ways, it is even more fundamental than that. We don't seem
> to have a lot of tests for ident stuff. The closest is the strict ident
> stuff in t0007.
Good point.
Show 6 quoted lines
>> +reprepare () {
>> +	git reset --hard initial
>> +}
>
> Do we need this reprepare stuff at all now? The tests don't care which
> commit we're at when they start.

Ah, I thought the function was needed to make sure we have something to commit, but I agree that you do not need it, if you are going to use "commit --allow-empty" in the tests.

> So all together, maybe:
Sounds sensible.
Thanks.
Previous: Dan AloniNext: Eric Sunshine
Message 6 of 8 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. Jeff KingFeb 5, 2016
  5. Dan AloniFeb 5, 2016
  6. Junio C HamanoFeb 5, 2016
  7. Eric SunshineFeb 5, 2016
  8. Dan AloniFeb 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.