push: teach --recurse-submodules the on-demand option
[gitweb.git] / submodule.h
index fd58690453f75b9ac8151a33b07997f0d18e03ac..6633b53dfac455ce3f85ff218a24dec709fe6365 100644 (file)
@@ -31,5 +31,6 @@ int merge_submodule(unsigned char result[20], const char *path, const unsigned c
                    const unsigned char a[20], const unsigned char b[20], int search);
 int find_unpushed_submodules(unsigned char new_sha1[20], const char *remotes_name,
                struct string_list *needs_pushing);
+int push_unpushed_submodules(unsigned char new_sha1[20], const char *remotes_name);
 
 #endif