* How do I make 'git diff --no-index' follow symlinks? @ 2017-03-18 17:55 Ævar Arnfjörð Bjarmason 2017-03-18 19:30 ` Junio C Hamano 0 siblings, 1 reply; 3+ messages in thread From: Ævar Arnfjörð Bjarmason @ 2017-03-18 17:55 UTC (permalink / raw) To: Git Mailing List I'd like to (ab)use git's nice diff interface and make this work: git --no-pager diff --no-index <(echo foo) <(echo bar) It just prints: -pipe:[203030063] +pipe:[203030065] But I want: $ diff -u0 <(echo foo) <(echo bar)|tail -n 2 -foo +bar I went diving through the diff code for a bit, but couldn't find where it's stat()-ing the two files and deciding it's not going to follow symlinks. Just having some option to follow symlinks would make this work. ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How do I make 'git diff --no-index' follow symlinks? 2017-03-18 17:55 How do I make 'git diff --no-index' follow symlinks? Ævar Arnfjörð Bjarmason @ 2017-03-18 19:30 ` Junio C Hamano 2017-03-18 22:54 ` Dennis Kaarsemaker 0 siblings, 1 reply; 3+ messages in thread From: Junio C Hamano @ 2017-03-18 19:30 UTC (permalink / raw) To: Ævar Arnfjörð Bjarmason; +Cc: Git Mailing List Sounds like https://public-inbox.org/git/20161111201958.2175-1-dennis@kaarsemaker.net/ to me. A key message in the thread may be: https://public-inbox.org/git/alpine.DEB.2.20.1611121106110.3746@virtualbox/ ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How do I make 'git diff --no-index' follow symlinks? 2017-03-18 19:30 ` Junio C Hamano @ 2017-03-18 22:54 ` Dennis Kaarsemaker 0 siblings, 0 replies; 3+ messages in thread From: Dennis Kaarsemaker @ 2017-03-18 22:54 UTC (permalink / raw) To: Junio C Hamano, Ævar Arnfjörð Bjarmason; +Cc: Git Mailing List On Sat, 2017-03-18 at 12:30 -0700, Junio C Hamano wrote: > Sounds like > > https://public-inbox.org/git/20161111201958.2175-1-dennis@kaarsemaker.net/ > > to me. A key message in the thread may be: > > https://public-inbox.org/git/alpine.DEB.2.20.1611121106110.3746@virtualbox/ Sorry for the delay in sending v3. I've had a serious case of Lennonitis (Life is what happens to you while you're busy making other plans). D. ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-03-18 22:54 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2017-03-18 17:55 How do I make 'git diff --no-index' follow symlinks? Ævar Arnfjörð Bjarmason 2017-03-18 19:30 ` Junio C Hamano 2017-03-18 22:54 ` Dennis Kaarsemaker
Code repositories for project(s) associated with this public inbox https://80x24.org/mirrors/git.git This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).