Make reverting/unreverting a binary file work.
commitfc81a6249c58e2d4b492bff9eb8fba2c987c9d29
authorThomas Zander <thomas.zander@trolltech.com>
Thu, 23 Jul 2009 18:43:04 +0000 (23 21:43 +0300)
committerThomas Zander <thomas.zander@trolltech.com>
Thu, 23 Jul 2009 18:43:04 +0000 (23 21:43 +0300)
tree8001932d06c25ffac6d9f4d3cac015b2f2baf94b
parent4dd99dc211803bb3a4dc1b2d59238d03493954c9
Make reverting/unreverting a binary file work.

Make writing out a patch for a binary file work partly.
It now writes a header with all the sha1s etc, but not the file data.
At least for a revert (i.e. git apply) this is enough :)
src/hunks/ChangeSet.cpp