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

Re: [PATCH v7] Add log.abbrevCommit config variable

From
Junio C Hamano <gitster@pobox.com>
Date
May 18, 2011, 19:05 UTC
Message-ID
<7vwrhnbzht.fsf@alter.siamese.dyndns.org>
In-Reply-To
<1305741364-28286-1-git-send-email-jaysoffian@gmail.com>
Jay Soffian <jaysoffian@gmail.com> writes:
> +test_expect_success 'log.abbrevCommit configuration' '
> +	test_when_finished "git config --unset log.abbrevCommit" &&
Now, when this test begins, what is the value of log.abbrevCommit?
I'd add an explicit
	test_might_fail git config --unset log.abbrevCommit &&
here.
> +	git log --abbrev-commit >expect.log.abbrev &&
> +...
> +	test_cmp expect.reflog.full actual
Break in && chain here.
> +	git whatchanged >actual &&
> +	test_cmp expect.whatchanged.abbrev actual
Ditto.
Show 5 quoted lines
> +	git whatchanged --no-abbrev-commit >actual &&
> +	test_cmp expect.whatchanged.full actual
>  '
>  
>  test_expect_success 'show added path under "--follow -M"' '

I've squashed these in before queuing, so unless you found other issues, no need to resend.

Thanks.
Previous: Junio C Hamano
Message 3 of 3 in “Add log.abbrevCommit config variable”
  1. Add log.abbrevCommit config variableJay Soffian, May 18, 2011
  2. Junio C HamanoMay 18, 2011
  3. Junio C HamanoMay 18, 2011

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.