compat: Add simplified merge sort implementation from glibc
[gitweb.git] / builtin-fmt-merge-msg.c
index 8a3c962f8920bb883287053c850adf78312ff19b..6163bd4975e3e361e36ffc89ea4c91d0edd02949 100644 (file)
@@ -176,7 +176,7 @@ static void shortlog(const char *name, unsigned char *sha1,
        struct commit *commit;
        struct object *branch;
        struct list subjects = { NULL, NULL, 0, 0 };
-       int flags = UNINTERESTING | TREECHANGE | SEEN | SHOWN | ADDED;
+       int flags = UNINTERESTING | TREESAME | SEEN | SHOWN | ADDED;
 
        branch = deref_tag(parse_object(sha1), sha1_to_hex(sha1), 40);
        if (!branch || branch->type != OBJ_COMMIT)