git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [BUG] git-gui: "Stage Hunk For Commit" doesn't work at all anymore
@ 2007-08-23 20:30 Brian Downing
  2007-08-23 20:38 ` Brian Downing
  0 siblings, 1 reply; 3+ messages in thread
From: Brian Downing @ 2007-08-23 20:30 UTC (permalink / raw)
  To: Shawn O. Pearce, Junio C Hamano; +Cc: git

This commit:

commit a13ee29b975d3a9a012983309e842d942b2bbd44
Author: Shawn O. Pearce <spearce@spearce.org>
Date:   Thu Aug 2 22:55:22 2007 -0400

    git-gui: Avoid Tcl error in popup menu on diff viewer

    If there is no path currently shown in the diff viewer then we
    were getting Tcl errors anytime the user right-clicked on the
    diff viewer to bring up its popup menu.  The bug here is caused
    by trying to get the file_state for the empty string; this path
    is never seen so we never have file_state for it.  In such cases
    we now disable the Stage Hunk For Commit option.

    Signed-off-by: Shawn O. Pearce <spearce@spearce.org>

seems to have broken the "Stage Hunk For Commit" option entirely for me
-- it is now disabled whether or not there is a patch in the viewer.

-bcd

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-08-24  3:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-23 20:30 [BUG] git-gui: "Stage Hunk For Commit" doesn't work at all anymore Brian Downing
2007-08-23 20:38 ` Brian Downing
2007-08-24  3:08   ` Shawn O. Pearce

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 NNTP newsgroup(s).