]> git.ipfire.org Git - thirdparty/git.git/blobdiff - revision.c
Git 1.7.4-rc2
[thirdparty/git.git] / revision.c
index f8d4f87275c9552f2c2c2df7faaee65e99237653..7b9eaefae4ed03e994c2122453144b3c09591b9c 100644 (file)
@@ -2030,8 +2030,10 @@ static struct commit *get_revision_1(struct rev_info *revs)
                revs->commits = entry->next;
                free(entry);
 
-               if (revs->reflog_info)
+               if (revs->reflog_info) {
                        fake_reflog_parent(revs->reflog_info, commit);
+                       commit->object.flags &= ~(ADDED | SEEN | SHOWN);
+               }
 
                /*
                 * If we haven't done the list limiting, we need to look at