author | Jens Lehmann <Jens.Lehmann@web.de> | |
Mon, 7 Dec 2009 20:35:59 +0000 (21:35 +0100) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Sat, 23 Jan 2010 22:46:13 +0000 (14:46 -0800) | ||
commit | 7ec2b69f1ad54db0acee165701c769de33f5ba13 | |
tree | dd88a03052a5a4b7c353a68e1824aebb394ec522 | tree | snapshot |
parent | e27d106ec4b2f68c210703e4bfa3a0a0cf2550a4 | commit | diff |
git-gui: Correct file_states when unstaging partly staged entry
When unstaging a partly staged file or submodule, the file_states
list was not updated properly (unless unstaged linewise). Its
index_info part did not contain the former head_info as it should
have but kept its old value.
This seems not to have had any bad effects but diminishes the value
of the file_states list for future enhancements.
Signed-off-by: Jens Lehmann <Jens.Lehmann@web.de>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
When unstaging a partly staged file or submodule, the file_states
list was not updated properly (unless unstaged linewise). Its
index_info part did not contain the former head_info as it should
have but kept its old value.
This seems not to have had any bad effects but diminishes the value
of the file_states list for future enhancements.
Signed-off-by: Jens Lehmann <Jens.Lehmann@web.de>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui.sh | diff | blob | history |