aboutsummaryrefslogtreecommitdiff
path: root/rpush.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-05-01 09:33:12 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-01 09:33:12 -0700
commit5d2f8b2753183e6cf2238a6f2d847e54211ba11f (patch)
tree875735be17d24d11433354682a32e96a12f003d8 /rpush.c
parentc983370e5e208cca4deda82184478ba445a156e6 (diff)
downloadgit-5d2f8b2753183e6cf2238a6f2d847e54211ba11f.tar.gz
git-5d2f8b2753183e6cf2238a6f2d847e54211ba11f.tar.xz
[PATCH] Add git-apply-patch-script.
I said: - Stop attempting to be compatible with cg-patch, and drop (mode:XXXXXX) bits from the diff. - Do keep the /dev/null change for created and deleted case. - No "Index:" line, no "Mode change:" line, anywhere in the output. Anything that wants the mode bits and sha1 hash can do things from GIT_EXTERNAL_DIFF mechanism. Maybe document suggested usage better. This adds an example script git-apply-patch-script, that can be used as the GIT_EXTERNAL_DIFF to apply changes between two trees directly on the current work tree, like this: GIT_EXTERNAL_DIFF=git-apply-patch-script git-diff-tree -p <tree> <tree> Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'rpush.c')
0 files changed, 0 insertions, 0 deletions