commit: add generation number to struct commit
[gitweb.git] / submodule.h
index b9b7ef0030a732bb81745641413f9f013588c91d..9589f131273d4f04605c8dbf7dcce05aaea606ad 100644 (file)
@@ -117,7 +117,7 @@ int submodule_to_gitdir(struct strbuf *buf, const char *submodule);
 #define SUBMODULE_MOVE_HEAD_FORCE   (1<<1)
 extern int submodule_move_head(const char *path,
                               const char *old,
-                              const char *new,
+                              const char *new_head,
                               unsigned flags);
 
 /*