[PATCH] -w support for git-ssh-pull/push
[gitweb.git] / apply.c
diff --git a/apply.c b/apply.c
index ec63a0c1e0a68ebbd003ebe90776e12b42b081e7..1f48ef906fbf6c0f0a2efb6bf06599aa3081d30a 100644 (file)
--- a/apply.c
+++ b/apply.c
@@ -437,6 +437,8 @@ static int parse_git_header(char *line, int len, unsigned int size, struct patch
                        { "copy to ", gitdiff_copydst },
                        { "rename old ", gitdiff_renamesrc },
                        { "rename new ", gitdiff_renamedst },
+                       { "rename from ", gitdiff_renamesrc },
+                       { "rename to ", gitdiff_renamedst },
                        { "similarity index ", gitdiff_similarity },
                        { "dissimilarity index ", gitdiff_dissimilarity },
                        { "", gitdiff_unrecognized },