We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3b48045 + 3ce0854 commit 2f777faCopy full SHA for 2f777fa
1 file changed
submodule.c
@@ -1997,6 +1997,10 @@ const char *get_superproject_working_tree(void)
1997
return ret;
1998
}
1999
2000
+/*
2001
+ * Put the gitdir for a submodule (given relative to the main
2002
+ * repository worktree) into `buf`, or return -1 on error.
2003
+ */
2004
int submodule_to_gitdir(struct strbuf *buf, const char *submodule)
2005
{
2006
const struct submodule *sub;
0 commit comments