swh:1:snp:47f1e8bb459169b0feb652a9c3d9cbabd8526d4a
Revision 1351ba13e599ef80bbfd9f9ef4ff22117418f030 authored by Shawn O. Pearce on 09 February 2007, 03:41:51 UTC, committed by Shawn O. Pearce on 09 February 2007, 03:41:51 UTC
To help clue users into the fact that annotation data arrives
incrementally, and that they should try to locate the region
they want while the tool is running, we jump to the first line
of the first annotation if the user has not already clicked on
a line they are interested in and if the window is still looking
at the very top of the file.

Since it takes a second (at least on my PowerBook) to even generate
the first annotation for git-gui.sh, the user should have plenty of
time to adjust the scrollbar or click on a line even before we get
that first annotation record in, which allows the user to bypass
our automatic jumping.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
1 parent 6910ae8
History
Tip revision: 84d06cdc06389ae7c462434cb7b1db0980f63860 authored by Junio C Hamano on 26 March 2021, 21:59:47 UTC
Sync with v2.31.1
Tip revision: 84d06cd
File Mode Size
.gitignore -rw-r--r-- 36 bytes
GIT-VERSION-GEN -rwxr-xr-x 745 bytes
Makefile -rw-r--r-- 1.2 KB
TODO -rw-r--r-- 1.6 KB
git-gui.sh -rwxr-xr-x 142.1 KB

back to top