Commit Diff


commit - 2bf0fa54a55e054ffe4c688f49ecbd6a28101fe0
commit + a729e2888f2d81208a354bdd20fac750b38c9134
blob - ef49f6ae3027c24639570e51b560c120d68f78e6
blob + 7178f338f771f22603b216cad0dd834dc6656298
--- lib/reference.c
+++ lib/reference.c
@@ -837,6 +837,8 @@ got_ref_cmp_by_commit_timestamp_descending(void *arg, 
 		*cmp = 1;
 	else if (ref2->committer_time < ref1->committer_time)
 		*cmp = -1;
+	else
+		return got_ref_cmp_by_name(arg, cmp, ref1, ref2);
 
 	return err;
 }