Code

move duplicated ref_newer() to remote.c
[git.git] / remote.h
index 56ca8b168f20622f8256fa64934004adac7bd0a4..c0666a075889ee2747ad6f83e290e1ae1468a05a 100644 (file)
--- a/remote.h
+++ b/remote.h
@@ -74,6 +74,7 @@ int check_ref_type(const struct ref *ref, int flags);
 void free_refs(struct ref *ref);
 
 int resolve_remote_symref(struct ref *ref, struct ref *list);
+int ref_newer(const unsigned char *new_sha1, const unsigned char *old_sha1);
 
 /*
  * Removes and frees any duplicate refs in the map.