aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2025-12-17 02:33:13 +0700
committerShulhan <ms@kilabit.info>2026-04-09 19:00:06 +0700
commitc6be4c61ed2f6baa4d3936d5d29a6bc1be2051ae (patch)
tree54b7856c0a6e418b088edf59ae7b7ef0de44640b
parentc384c4910645e63645f9c9552f1a6fe9c8136ded (diff)
downloadgit-c6be4c61ed2f6baa4d3936d5d29a6bc1be2051ae.tar.xz
gitk-git: move the Find and Commit bars to the top
The functionality that provides by Find bar and information provides by Commit bar is for the commit tree. For example, if we Find commit that containing "xyz", it will search and highlight the commit subject line that contain the word "xyz". If we click on any commit subject, it will changes the Commit hash and Row. So, in this changes, it make senses that we position both of bars at the top instead of in the middle.
-rwxr-xr-xgitk-git/gitk4
1 files changed, 2 insertions, 2 deletions
diff --git a/gitk-git/gitk b/gitk-git/gitk
index 831e2e0178..d78b124347 100755
--- a/gitk-git/gitk
+++ b/gitk-git/gitk
@@ -2589,8 +2589,8 @@ proc makewindow {} {
pack $fstring -side left -expand 1 -fill x
# Finish putting the upper half of the viewer together
- pack .tf.lbar -in .tf -side bottom -fill x
- pack .tf.bar -in .tf -side bottom -fill x
+ pack .tf.lbar -in .tf -side top -fill x
+ pack .tf.bar -in .tf -side top -fill x
pack .tf.histframe -fill both -side top -expand 1
.ctop add .tf