# gitk feature requests: (1) "diff.orderFile" and (2) "--function-context"

1 messages from 2020-02-23 to 2020-02-23. Participants: Laszlo Ersek.
Thread: https://gitlist.dev/t/52873

## Laszlo Ersek, 2020-02-23 15:06

Subject: gitk feature requests: (1) "diff.orderFile" and (2) "--function-context"
Message-ID: <d972c1f1-c49a-f644-ab1c-6a3e26c43ee3@redhat.com>
URL: https://gitlist.dev/e/d972c1f1-c49a-f644-ab1c-6a3e26c43ee3%40redhat.com

```
Hello,

as of commit c1a63459ed73 ("gitk: Preserve window dimensions on exit
when not using ttk themes", 2019-12-15), gitk seems to lack two features
that I consider "killer" ones, for reviewing patches (including my own
patches, of course):

- support for the "--function-context" ("-W") option,
- support for the "-O<orderfile>" (aka "diff.orderFile") setting.

These flags are in fact mentioned in the gitk source code, going back to
historical commit ee66e089c1d4 ("gitk: Make updates go faster", 2008-05-09).

The options are stashed in vdflags($n), and then summarily ignored. A
comment says, "These request or affect diff output, which we don't
want", and I don't understand why; I would very much like them, please :)

Why I'm not proposing patches myself: my knowledge of Tcl/Tk is weaker
than my knowledge of Perl. My knowledge of Perl is... well, let's change
the topic. :) I have basically zero idea what "gitk" source does, for
the most part.

Could someone please write gitk patches for honoring "diff.orderFile"
and "--function-context"?

Accepting "--find-copies-harder" too would be the icing on the cake.

Thank you!
Laszlo


```
