]> asedeno.scripts.mit.edu Git - git.git/commit
git-gui: Update in memory states after commit.
authorShawn O. Pearce <spearce@spearce.org>
Sun, 19 Nov 2006 08:38:48 +0000 (03:38 -0500)
committerShawn O. Pearce <spearce@spearce.org>
Sun, 19 Nov 2006 08:38:48 +0000 (03:38 -0500)
commita29481e2123c2fd14fbcb2531be9de16adf21779
tree63a1fb1d29604447906f3c828a3df442b81d770f
parentbd11b82db88049fc4822d52764c009cc55b55afd
git-gui: Update in memory states after commit.

In order to allow the user to toggle include/exclude from next commit
for files which were partially included in the last commit we need the
current index mode+sha1 data stored in our file_states array.  For
any partially included file we have this information from diff-files,
so we just have to copy it over to the diff-index portion of our state
array.

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