From f48516746fada1405e476f04bc855bf91412ed46 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Sun, 5 Jun 2005 14:12:53 -0700 Subject: [PATCH] applypatch: use "--index" to actually make git-apply write the changes to the index file. --- applypatch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applypatch b/applypatch index 6db35887..789917f3 100755 --- a/applypatch +++ b/applypatch @@ -58,7 +58,7 @@ echo echo Applying "'$SUBJECT'" echo -git-apply $PATCHFILE || exit 1 +git-apply --index $PATCHFILE || exit 1 tree=$(git-write-tree) || exit 1 echo Wrote tree $tree commit=$(git-commit-tree $tree -p $(cat .git/HEAD) < $final) || exit 1 -- 2.11.0