commit-reach: move ref_newer from remote.c
[git/git.git] / commit-reach.h
index 1ea2696..f1cf9bf 100644 (file)
@@ -39,4 +39,6 @@ struct commit_list *reduce_heads(struct commit_list *heads);
  */
 void reduce_heads_replace(struct commit_list **heads);
 
+int ref_newer(const struct object_id *new_oid, const struct object_id *old_oid);
+
 #endif