[PATCH] Fix rename/copy when dealing with temporarily broken pairs.
[git.git] / diff.c
diff --git a/diff.c b/diff.c
index dd1c0b6..d6661f8 100644 (file)
--- a/diff.c
+++ b/diff.c
@@ -662,6 +662,7 @@ struct diff_filepair *diff_queue(struct diff_queue_struct *queue,
        dp->one = one;
        dp->two = two;
        dp->score = 0;
+       dp->status = 0;
        dp->source_stays = 0;
        dp->broken_pair = 0;
        diff_q(queue, dp);