Commit 46308ea
committed
gitk: Select something appropriate on cherry-pick, branch reset and checkout
This makes gitk select the new commit when cherry-picking, and select
the new checked-out head when resetting or checking out a branch.
This feels more natural because the user is usually more interested
in that commit now than whatever was selected before.
Signed-off-by: Paul Mackerras <paulus@samba.org>1 parent 3e76608 commit 46308ea
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3397 | 3397 | | |
3398 | 3398 | | |
3399 | 3399 | | |
3400 | | - | |
| 3400 | + | |
3401 | 3401 | | |
3402 | 3402 | | |
3403 | 3403 | | |
| |||
7028 | 7028 | | |
7029 | 7029 | | |
7030 | 7030 | | |
| 7031 | + | |
7031 | 7032 | | |
7032 | 7033 | | |
7033 | 7034 | | |
| |||
7072 | 7073 | | |
7073 | 7074 | | |
7074 | 7075 | | |
| 7076 | + | |
7075 | 7077 | | |
7076 | 7078 | | |
7077 | 7079 | | |
| |||
7144 | 7146 | | |
7145 | 7147 | | |
7146 | 7148 | | |
| 7149 | + | |
7147 | 7150 | | |
7148 | 7151 | | |
7149 | 7152 | | |
| |||
0 commit comments