# [PATCH] gitk: moving all three panes if clicking on an arrow.

3 messages from 2005-11-05 to 2005-11-20. Participants: Stefan-W. Hahn, Junio C Hamano, Paul Mackerras.
Thread: https://gitlist.dev/t/2359

## Stefan-W. Hahn, 2005-11-05 19:55

Subject: [PATCH] gitk: moving all three panes if clicking on an arrow.
Message-ID: <20051105195529.GB6081@scotty.home>
URL: https://gitlist.dev/e/20051105195529.GB6081%40scotty.home

```
[PATCH] gitk: moving all three panes if clicking on an arrow.

Signed-off-by: Stefan-W. Hahn <stefan.hahn@s-hahn.de>

---

 gitk |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

applies-to: ef3876e50bb5e91a6fb40d4e59df2178c6f40237
078ef4fa295368b5337ad797b27372bbaa19d7fc
diff --git a/gitk b/gitk
index a9d37d9..616a3e2 100755
--- a/gitk
+++ b/gitk
@@ -3178,7 +3178,7 @@ proc clickisonarrow {id y} {
 }
 
 proc arrowjump {id dirn y} {
-    global mainline sidelines canv
+    global mainline sidelines canv canv2 canv3
 
     set yt {}
     if {$dirn eq "down"} {
@@ -3216,6 +3216,8 @@ proc arrowjump {id dirn y} {
        set yfrac 0
     }
     $canv yview moveto $yfrac
+    $canv2 yview moveto $yfrac
+    $canv3 yview moveto $yfrac
 }
 
 proc lineclick {x y id isnew} {
---
0.99.8.GIT

-- 
Stefan-W. Hahn                          It is easy to make things.
/ mailto:stefan.hahn@s-hahn.de /        It is hard to make things simple.			

```

## Junio C Hamano, 2005-11-19 08:31

Subject: Re: [PATCH] gitk: moving all three panes if clicking on an arrow.
Message-ID: <7vfyptavik.fsf@assigned-by-dhcp.cox.net>
URL: https://gitlist.dev/e/7vfyptavik.fsf%40assigned-by-dhcp.cox.net
In-Reply-To: <20051105195529.GB6081@scotty.home>

```
"Stefan-W. Hahn" <stefan.hahn@s-hahn.de> writes:

> [PATCH] gitk: moving all three panes if clicking on an arrow.
>
> Signed-off-by: Stefan-W. Hahn <stefan.hahn@s-hahn.de>

Obviously correct and much more pleasant to use.

Acked-by: Junio C Hamano <junkio@cox.net>

Paul, I earlier sent a pull request; I included this patch there
as well.  So you will find the following four.

commit e3fe532ddce7311cfbbdc98d2e157d33f6275231
Author: Stefan-W. Hahn <stefan.hahn@s-hahn.de>
Date:   Sat Nov 5 20:55:29 2005 +0100

    gitk: moving all three panes if clicking on an arrow.
    
    Signed-off-by: Stefan-W. Hahn <stefan.hahn@s-hahn.de>
    Signed-off-by: Junio C Hamano <junkio@cox.net>

commit fd913b39101c6ff185e76e459479621c9b475fa1
Author: Pavel Roskin <proski@gnu.org>
Date:   Fri Nov 11 10:09:12 2005 -0500

    gitk: use git-diff-tree --no-commit-id
    
    gitk switched to use git-diff-tree with one argument in gettreediffs and
    getblobdiffs.  git-diff-tree with one argument outputs commit ID in from
    of the patch.  This causes an empty line after "Comments" in the lower
    right pane.  Also, the diff in the lower left pane has the commit ID,
    which is useless there.
    
    This patch makes git use the newly added -no-commit-id option for
    git-diff-tree to suppress commit ID.  It also removes the p variable in
    both functions, since it has become useless after switching to the
    one-argument invocation for git-diff-tree.
    
    Signed-off-by: Pavel Roskin <proski@gnu.org>
    Signed-off-by: Junio C Hamano <junkio@cox.net>

commit e246483dc5b56d7deb04a93b0aa08aba4cde0625
Author: Frank Sorenson <frank@tuxrocks.com>
Date:   Sun Oct 30 02:06:46 2005 -0700

    gitk: Specify line hover font
    
    Hovering over a line in gitk displays the commit one-liner in a
    box, but the text usually overflows the box.  The box size is
    computed with a specified font, so this patch sets the text font
    as well.
    
    Signed-off-by: Frank Sorenson <frank@tuxrocks.com>
    Signed-off-by: Junio C Hamano <junkio@cox.net>

commit 36a7cad6e4ae8a331731666d985a7619a76bb4fb
Author: Junio C Hamano <junkio@cox.net>
Date:   Fri Nov 18 23:54:17 2005 -0800

    readrefs: grab all refs with one call to ls-remote.
    
    Instead of reading refs/heads/* and refs/tags/* files ourselves
    and missing files in subdirectories of heads/ and tags/, use
    ls-remote on local repository and grab all of them.  This lets us
    also remove the procedure readotherrefs.
    
    Signed-off-by: Junio C Hamano <junkio@cox.net>

```

## Paul Mackerras, 2005-11-20 10:20

Subject: Re: [PATCH] gitk: moving all three panes if clicking on an arrow.
Message-ID: <17280.19945.920598.839612@cargo.ozlabs.ibm.com>
URL: https://gitlist.dev/e/17280.19945.920598.839612%40cargo.ozlabs.ibm.com
In-Reply-To: <7vfyptavik.fsf@assigned-by-dhcp.cox.net>

```
Junio C Hamano writes:

> Paul, I earlier sent a pull request; I included this patch there
> as well.  So you will find the following four.

Thanks, pulled and pushed out.

Regards,
Paul.

```
