Code

git-gui: Implement automatic rescan after Tool execution.
authorAlexander Gavrilov <angavrilov@gmail.com>
Sun, 16 Nov 2008 18:46:51 +0000 (21:46 +0300)
committerShawn O. Pearce <spearce@spearce.org>
Sun, 16 Nov 2008 21:33:33 +0000 (13:33 -0800)
commitb8dfb16d3668c57b1286d854e762368c25a2eaaf
treee40d6b6bfaf2212657f5ca5744ed91ccaee29390
parent67df911ceebb57596b0d3aea405e1d12137bc6f4
git-gui: Implement automatic rescan after Tool execution.

The Tools menu is generally intended for commands that
affect the working directory or repository state. Thus,
the user would usually want to initiate rescan after
execution of a tool. This commit implements it.

In case somebody would want to avoid rescanning after
certain tools, it also adds an option that controls it,
although it is not made available through the Add dialog.

Signed-off-by: Alexander Gavrilov <angavrilov@gmail.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
lib/tools.tcl