diff options
| author | Johannes Sixt <j6t@kdbg.org> | 2026-05-31 19:02:15 -0400 |
|---|---|---|
| committer | Johannes Sixt <j6t@kdbg.org> | 2026-06-01 09:44:45 +0200 |
| commit | a7e5d892034b6e81dbbbaed09fdbade12352157b (patch) | |
| tree | de9ee3a6579c54e473fc36b93b357b89e5e19da5 /t/t4013/diff.diff_initial..side | |
| parent | 89858b2f3c9f4ddbbb22962dff9e739f91d9c388 (diff) | |
git-gui: remove unnecessary 'cd $_gitworktree' from do_gitk
In the procedure that invokes Gitk, we have a 'cd $_gitworktree'. Such
a change of the current directory is not necessary, because
- if we have a working tree, then the startup routine has already
changed the current directory to the root of the working tree, which
*is* $_gitworktree; or
- if we are in a bare repository, then there is no point in changing
the current directory anywhere. (And $_gitworktree is empty.)
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Mark Levedahl <mlevedahl@gmail.com>
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Diffstat (limited to 't/t4013/diff.diff_initial..side')
0 files changed, 0 insertions, 0 deletions
