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

Re: [PATCH] t7060: actually test "git diff-index --cached -M"

From
Junio C Hamano <gitster@pobox.com>
Date
Sep 2, 2015, 19:24 UTC
Message-ID
<xmqqtwrcmxp4.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<1441217575-45474-1-git-send-email-matthieuprat@gmail.com>
Matthieu Prat <matthieuprat@gmail.com> writes:
> A test was designed for "git diff-index --cached -M" but the command is
> run without the "-M" option (which makes the test essentially identical
> to its preceding counterpart).

Very true and it seems that it has been that way from the day these trio of tests were introduced by d7c9bf22 (diffcore-rename: don't consider unmerged path as source, 2011-03-23).

Thanks for a fix.  Will queue.
Previous: Matthieu Prat
Message 2 of 2 in “t7060: actually test "git diff-index --cached -M"”
  1. t7060: actually test "git diff-index --cached -M"Matthieu Prat, Sep 2, 2015
  2. Junio C HamanoSep 2, 2015

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.