Merge branch 'da/difftool'
[gitweb.git] / ref-filter.c
index 1194f10ed60f2bb476e1d95d0cc11b4ad4265c7f..e205dd2f689ee5aeafe6ea66343fd01b85d2e354 100644 (file)
@@ -1457,7 +1457,7 @@ static int cmp_ref_sorting(struct ref_sorting *s, struct ref_array_item *a, stru
                if (va->ul < vb->ul)
                        cmp = -1;
                else if (va->ul == vb->ul)
-                       cmp = 0;
+                       cmp = strcmp(a->refname, b->refname);
                else
                        cmp = 1;
        }