Skip to content

Commit 01cde63

Browse files
committed
Merge branch 'js/auto-rescan-timing' into j6t-testing
* js/auto-rescan-timing: git-gui: schedule rescan after actions triggered by mouse clicks
2 parents 7ba44a6 + 2345272 commit 01cde63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-gui.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3827,7 +3827,7 @@ bind . <Alt-Key-3> {focus $::ui_diff}
38273827
bind . <Alt-Key-4> {focus $::ui_comm}
38283828

38293829
if {[is_config_true gui.autorescan]} {
3830-
bind . <FocusIn> { if {"%W" eq "."} do_rescan }
3830+
bind . <FocusIn> { if {"%W" eq "."} { after idle do_rescan } }
38313831
}
38323832

38333833
set file_lists_last_clicked($ui_index) {}

0 commit comments

Comments
 (0)