Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tree.h
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2006-05-30 06:01:38 +0400
committerJunio C Hamano <junkio@cox.net>2006-05-30 06:04:19 +0400
commite0c97ca63df2590026fe1f9a76fefba54b291d06 (patch)
tree9c0632ce5ad38148b65b639d2a1a7a7d44c59bd6 /tree.h
parent22669a045a062c7884735219bc4f5f8a8dd183a2 (diff)
Make git-diff-tree indicate when it flushes
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. This makes git-diff-tree flush its output and echo back the input line when it is not a valid-looking object name. Gitk, or other users of git-diff-tree --stdin, can use a blank line or any other "marker line" to indicate that git-diff-tree has processed all the commits on its input up to the echoed back marker line, and any commits that have not been output do not match. [jc: re-done after a couple of back-and-forth discussion on the list.] Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'tree.h')
0 files changed, 0 insertions, 0 deletions