PBGitCommitController: Fix unstaging of files
commit76f1469f5219f3b79b33ee37d470f282e9771155
authorJohannes Gilger <heipei@hackvalue.de>
Fri, 29 May 2009 09:34:45 +0000 (29 11:34 +0200)
committerPieter de Bie <frimmirf+gitx@gmail.com>
Sat, 6 Jun 2009 13:24:30 +0000 (6 14:24 +0100)
tree03ba0acc92caa01c32e0feea0cc4bee8887f1299
parenta780ad943828f478fae829725117f35b1aa14663
PBGitCommitController: Fix unstaging of files

This fixes a simple error where a staged file was read and added with
its mode/sha exchanged, and therefore its index-info could not be used
by update-index.

The error was introduced in a6b7c0c2a6b3b68. This fixes ticket #159.

Signed-off-by: Johannes Gilger <heipei@hackvalue.de>
PBGitCommitController.m