X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=diff-files.c;h=b1c05b325a8f171fc67c204471db2cb5e98b0b50;hb=becb6a658c43633850a2417935c108266056b765;hp=574294f30254c3082820aa678b6df353540fefbf;hpb=65520c8e50ec227bc72e4196de03f785f850e5ad;p=git.git diff --git a/diff-files.c b/diff-files.c index 574294f3..b1c05b32 100644 --- a/diff-files.c +++ b/diff-files.c @@ -150,6 +150,8 @@ int main(int argc, const char **argv) nce->sha1, 20); combine.p.parent[stage-2].mode = DIFF_FILE_CANON_MODE(mode); + combine.p.parent[stage-2].status = + DIFF_STATUS_MODIFIED; } /* diff against the proper unmerged stage */