# [GIT PULL] gitk: restore window position, external diff of renamed files

2 messages from 2025-11-26 to 2025-11-26. Participants: Johannes Sixt, Junio C Hamano.
Thread: https://gitlist.dev/t/64537

## Johannes Sixt, 2025-11-26 15:38

Subject: [GIT PULL] gitk: restore window position, external diff of renamed files
Message-ID: <a3e24a03-55c8-4c1e-8c19-e800f5a128b4@kdbg.org>
URL: https://gitlist.dev/e/a3e24a03-55c8-4c1e-8c19-e800f5a128b4%40kdbg.org

```
The following changes since commit c435c515dad872532705d45d9ff81d3f4af22d6d:

  Merge branch 'ml/themes' (2025-10-05 13:09:49 +0200)

are available in the Git repository at:

  https://github.com/j6t/gitk.git master

for you to fetch changes up to 776223c4d8482a29585266e189ea8f1933ac9652:

  Merge branch 'tb/external-diff-renamed' (2025-11-26 16:04:14 +0100)


The commit that reinstates that the main window position is saved across
sessions is controversial and needs testing. In b9bee11526ec (gitk: Only
restore window size from ~/.gitk, not position, 2008-03-10) [1] it was
argued that restoring the main window position is inconvenient. With the
reversal of that patch I have now implemented my preference (to restore
the position) with the purpose to solicit feedback whether it is still
inconvenient. We can revert the patch again or find a better solution if
needed.

[1] https://lore.kernel.org/git/20080223113759.12854.qmail@6a8737aa4695b2.315fe32.mid.smarden.org/

----------------------------------------------------------------
Johannes Sixt (6):
      Revert "gitk: Only restore window size from ~/.gitk, not position"
      gitk: persist position and size of the Tags and Heads window
      gitk: fix a 'continue' statement outside a loop to 'return'
      gitk: show unescaped file names on 'rename' and 'copy' lines
      Merge branch 'js/persist-ref-window-geometry'
      Merge branch 'tb/external-diff-renamed'

Tobias Boesch (1):
      gitk: add external diff file rename detection

 gitk | 87 ++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------
 1 file changed, 69 insertions(+), 18 deletions(-)

```

## Junio C Hamano, 2025-11-26 17:35

Subject: Re: [GIT PULL] gitk: restore window position, external diff of renamed files
Message-ID: <xmqqcy54ofxa.fsf@gitster.g>
URL: https://gitlist.dev/e/xmqqcy54ofxa.fsf%40gitster.g
In-Reply-To: <a3e24a03-55c8-4c1e-8c19-e800f5a128b4@kdbg.org>

```
Johannes Sixt <j6t@kdbg.org> writes:

> The following changes since commit c435c515dad872532705d45d9ff81d3f4af22d6d:
>
>   Merge branch 'ml/themes' (2025-10-05 13:09:49 +0200)
>
> are available in the Git repository at:
>
>   https://github.com/j6t/gitk.git master
>
> for you to fetch changes up to 776223c4d8482a29585266e189ea8f1933ac9652:
>
>   Merge branch 'tb/external-diff-renamed' (2025-11-26 16:04:14 +0100)
>
>
> The commit that reinstates that the main window position is saved across
> sessions is controversial and needs testing. In b9bee11526ec (gitk: Only
> restore window size from ~/.gitk, not position, 2008-03-10) [1] it was
> argued that restoring the main window position is inconvenient. With the
> reversal of that patch I have now implemented my preference (to restore
> the position) with the purpose to solicit feedback whether it is still
> inconvenient. We can revert the patch again or find a better solution if
> needed.
>
> [1] https://lore.kernel.org/git/20080223113759.12854.qmail@6a8737aa4695b2.315fe32.mid.smarden.org/
>
> ----------------------------------------------------------------
> Johannes Sixt (6):
>       Revert "gitk: Only restore window size from ~/.gitk, not position"
>       gitk: persist position and size of the Tags and Heads window
>       gitk: fix a 'continue' statement outside a loop to 'return'
>       gitk: show unescaped file names on 'rename' and 'copy' lines
>       Merge branch 'js/persist-ref-window-geometry'
>       Merge branch 'tb/external-diff-renamed'
>
> Tobias Boesch (1):
>       gitk: add external diff file rename detection
>
>  gitk | 87 ++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------
>  1 file changed, 69 insertions(+), 18 deletions(-)

Thanks, pulled.

```
