Remove insane overlapping bit ranges from epoch.c
[gitweb.git] / epoch.c
diff --git a/epoch.c b/epoch.c
index abfd594bb9c9cb0abc427dd35c29a0a6bc929978..7888f1da4ed6023a9c46cb7ce98c78ba606ca0f5 100644 (file)
--- a/epoch.c
+++ b/epoch.c
@@ -582,14 +582,8 @@ int sort_list_in_merge_order(struct commit_list *list, emitter_func emitter)
        int action = CONTINUE;
        struct commit_list *reversed = NULL;
 
-       for (; list; list = list->next) {
-               struct commit *next = list->item;
-
-               if (!(next->object.flags & DUPCHECK)) {
-                       next->object.flags |= DUPCHECK;
-                       commit_list_insert(list->item, &reversed);
-               }
-       }
+       for (; list; list = list->next)
+               commit_list_insert(list->item, &reversed);
 
        if (!reversed)
                return ret;