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

Re: [PATCH] Make git-diff-tree indicate when it flushes

From
Paul Mackerras <paulus@samba.org>
Date
May 29, 2006, 22:02 UTC
Message-ID
<17531.28529.215905.856397@cargo.ozlabs.ibm.com>
In-Reply-To
<7vejyc8ymw.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano writes:
Show 12 quoted lines
> Paul Mackerras <paulus@samba.org> writes:
> 
> > There are times when gitk needs to know that the commits it has sent
> > to git-diff-tree --stdin did not match, and it needs to know in a
> > timely fashion even if none of them match.  At the moment,
> > git-diff-tree outputs nothing for non-matching commits, so it is
> > impossible for gitk to distinguish between git-diff-tree being slow
> > and git-diff-tree saying no.
> 
> Wouldn't this help?
> 
> 	$ git-diff-tree --stdin --always
On the git.git tree:

$ cat revs 65aadb92a1ce9605fa2f412b51de91781a3ef3d6 cc189c2ca2c725c430f100f61e7c4a6849f93163 $ git diff-tree -r -s --stdin -- apply.c <revs 65aadb92a1ce9605fa2f412b51de91781a3ef3d6 $ git diff-tree -r -s --stdin --always -- apply.c <revs 65aadb92a1ce9605fa2f412b51de91781a3ef3d6 cc189c2ca2c725c430f100f61e7c4a6849f93163 $

With --always, how do I tell that 65aadb affects apply.c and cc189c doesn't?

Paul.
Previous: Junio C HamanoNext: Junio C Hamano
Message 3 of 7 in “Make git-diff-tree indicate when it flushes”
  1. Make git-diff-tree indicate when it flushesPaul Mackerras, May 29, 2006
  2. Junio C HamanoMay 29, 2006
  3. Paul MackerrasMay 29, 2006
  4. Junio C HamanoMay 29, 2006
  5. Junio C HamanoMay 29, 2006
  6. Paul MackerrasMay 29, 2006
  7. Paul MackerrasMay 29, 2006

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.