From: Paul Mackerras <paulus@samba.org>
To: Junio C Hamano <junkio@cox.net>
Cc: git@vger.kernel.org
Subject: Re: [PATCH] Provide a way to flush git-diff-tree's output
Date: Thu, 18 May 2006 19:43:01 +1000 [thread overview]
Message-ID: <17516.16805.281168.662330@cargo.ozlabs.ibm.com> (raw)
In-Reply-To: <7vmzdf6bj5.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano writes:
> Sounds low impact and sane.
>
> I suspect the usual caveat on bidirectional pipe deadlock
> applies to the caller. Does gitk do that? The current code
Gitk will use non-blocking mode on the pipes to/from the git-diff-tree
process, so there isn't a possibility of deadlock that I can see.
> seems to feed a pre-generated list with "open | cmd <<"
> construct to the command, so perhaps you are planning to change
> that?
That's for the "Find" function. I'm in the process of adding the code
to let users enter a list of paths and have gitk highlight the commits
affecting those paths. That will involve a separate invocation of
git-diff-tree. To make it responsive, I'm only going to ask
git-diff-tree about the commits that are visible on the screen - but I
need git-diff-tree to give me an answer quickly, i.e. in less time
than a human can perceive.
Thanks,
Paul.
prev parent reply other threads:[~2006-05-18 9:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-18 6:58 [PATCH] Provide a way to flush git-diff-tree's output Paul Mackerras
2006-05-18 7:24 ` Junio C Hamano
2006-05-18 9:43 ` Paul Mackerras [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=17516.16805.281168.662330@cargo.ozlabs.ibm.com \
--to=paulus@samba.org \
--cc=git@vger.kernel.org \
--cc=junkio@cox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.