Thread (10 messages) flat view 10 messages, 4 authors, 2017-09-27

Re: [PATCH 3/4] Document submodule_to_gitdir

From: Brandon Williams <hidden>
Date: 2017-09-25 17:25:31

On 09/25, Han-Wen Nienhuys wrote:
quoted hunk ↗ jump to hunk
Signed-off-by: Han-Wen Nienhuys <redacted>
---
 submodule.c | 3 +++
 1 file changed, 3 insertions(+)
diff --git a/submodule.c b/submodule.c
index b12600fc7..b66c23f5d 100644
--- a/submodule.c
+++ b/submodule.c
@@ -1997,6 +1997,9 @@ const char *get_superproject_working_tree(void)
 	return ret;
 }
 
+/* Put the gitdir for a submodule (given relative to the main repository worktree)
+ * into `buf`, or return -1 on error.
+ */
Same nit as in patch [2/4]
 int submodule_to_gitdir(struct strbuf *buf, const char *submodule)
 {
 	const struct submodule *sub;
-- 
2.14.1.821.g8fa685d3b7-goog
-- 
Brandon Williams
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help