1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-11-05 00:37:55 +01:00
Find a file
Shawn O. Pearce 73ad179bbb git-gui: Use catch rather than array names to check file.
When we reshow the current diff file it can be faster to just fetch
the value from the file_states array than it is to ask for all paths
whose name exactly matches the one we want to show.  This is because
[array names -exact] is O(n) in the number of files.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
2006-11-12 00:16:01 -05:00
git-citool git-gui: Finished commit implementation. 2006-11-07 03:05:17 -05:00
git-gui git-gui: Use catch rather than array names to check file. 2006-11-12 00:16:01 -05:00
TODO git-gui: Updated TODO list now that geometry is stored. 2006-11-12 00:16:00 -05:00