author | Shawn O. Pearce <spearce@spearce.org> | |
Sun, 19 Nov 2006 08:38:48 +0000 (03:38 -0500) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Sun, 19 Nov 2006 08:38:48 +0000 (03:38 -0500) | ||
commit | a29481e2123c2fd14fbcb2531be9de16adf21779 | |
tree | 63a1fb1d29604447906f3c828a3df442b81d770f | tree | snapshot |
parent | bd11b82db88049fc4822d52764c009cc55b55afd | commit | diff |
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>
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 | diff | blob | history |