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

Re: [PATCH v3 0/2] diff --no-index: support symlinks and pipes

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 19, 2017, 22:08 UTC
Message-ID
<xmqqo9wwzzpl.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<20170318210038.22638-1-dennis@kaarsemaker.net>
Dennis Kaarsemaker <dennis@kaarsemaker.net> writes:
Show 11 quoted lines
> Normal diff provides arguably better output: the diff of the output of the
> commands. This series makes it possible for git diff --no-index to follow
> symlinks and read from pipes, mimicking the behaviour of normal diff.
>
> v1: http://public-inbox.org/git/20161111201958.2175-1-dennis@kaarsemaker.net/
> v2: http://public-inbox.org/git/20170113102021.6054-1-dennis@kaarsemaker.net/
>
> Changes since v2, prompted by feedback from Junio:
>
> - A --derefence option was added and the default is no longer to dereference
>   symlinks.

I do agree that it makes sense to have --[no-]dereference options, but I do not think it was my feedback and suggestion to make it optional (not default) to dereference, so please do not blame me for that choice.

Previous: Dennis KaarsemakerNext: Dennis Kaarsemaker
Message 6 of 8 in “diff --no-index: support symlinks and pipes”
  1. 0/2 diff --no-index: support symlinks and pipesDennis Kaarsemaker, Mar 18, 2017
  2. 2/2 diff --no-index: support reading from pipesDennis Kaarsemaker, Mar 18, 2017
  3. 1/2 diff --no-index: optionally follow symlinksDennis Kaarsemaker, Mar 18, 2017
  4. Junio C HamanoMar 19, 2017
  5. Dennis KaarsemakerMar 20, 2017
  6. Junio C HamanoMar 19, 2017
  7. Dennis KaarsemakerMar 20, 2017
  8. Junio C HamanoMar 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.