git-gui: Automatically update-index all included files before commit.
authorShawn O. Pearce <spearce@spearce.org>
Wed, 15 Nov 2006 23:06:29 +0000 (18:06 -0500)
committerShawn O. Pearce <spearce@spearce.org>
Wed, 15 Nov 2006 23:06:29 +0000 (18:06 -0500)
commitbbe3b3b9b93763ff4eff4fbb638b1c6a4bed8c95
tree3005598da2ce85611eb5a28480ed6ae71ffe1bc0
parent04b393824ff57b5fcb881a00466e513cd4ad2a7f
git-gui: Automatically update-index all included files before commit.

If the user has "Allow Partially Included Files" disabled (and most
probably will as its the default setting) we should run update-index
on every included file before commit to make sure that any changes
made by the user since the last rescan will still be part of this
commit.

If we don't update-index every modified file the user will likely
become confused when part of their changes were committed and other
parts weren't; and those other parts won't show up until a later
rescan occurs.  Since we don't rescan immediately after a commit
this may be a while.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui