aboutsummaryrefslogtreecommitdiff
path: root/patch-delta.c
diff options
context:
space:
mode:
authorRobin Rosenberg <robin.rosenberg@dewire.com>2006-12-11 00:30:06 +0100
committerJunio C Hamano <junkio@cox.net>2006-12-11 14:16:54 -0800
commite86ad71fe5f53ae4434566bd09ea4256090e5a3a (patch)
tree0ec09f3db2242e1ced80374ebe9a5c5df228c418 /patch-delta.c
parent6f9872582246b9b8ee4bdc9f6a563b409aab1ecb (diff)
downloadgit-e86ad71fe5f53ae4434566bd09ea4256090e5a3a.tar.gz
git-e86ad71fe5f53ae4434566bd09ea4256090e5a3a.tar.xz
Make cvsexportcommit work with filenames with spaces and non-ascii characters.
This patch uses git-apply to do the patching which simplifies the code a lot and also uses one pass to git-diff. git-apply gives information on added, removed files as well as which files are binary. Removed the test for checking for matching binary files when deleting them since git-apply happily deletes the file. This is matter of taste since we allow some fuzz for text patches also. Error handling was cleaned up, but not much tested. Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'patch-delta.c')
0 files changed, 0 insertions, 0 deletions