# gitk should maybe keep focus on same file when switching patch->tree view

1 messages from 2016-07-31 to 2016-07-31. Participants: Britton Kerin.
Thread: https://gitlist.dev/t/42981

## Britton Kerin, 2016-07-31 20:18

Subject: gitk should maybe keep focus on same file when switching patch->tree view
Message-ID: <CAC4O8c9Zmh0hvx_u2qRsVUkSw0MKodJ5Vhf074ApfavkKDFOtA@mail.gmail.com>
URL: https://gitlist.dev/e/CAC4O8c9Zmh0hvx_u2qRsVUkSw0MKodJ5Vhf074ApfavkKDFOtA%40mail.gmail.com

```
if you're looking at the patch for a given file (have it selected in
the lower right window), then when
you switch to tree it would be nice if it started at that file.  I
realize you can view Old version/New version but that doesn't help
with landing the the right level of the tree for projects with
subdirs, and sometimes you want to just switch to looking at the file
sans all diff markup.

Britton

```
