Thread (4 messages) flat view 4 messages, 3 authors, 2016-06-15

Re: [PATCH/RFC 2/3] Teach mv to move submodules using a gitfile

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:56:45

Possibly related (same subject, not in this thread)

Jens Lehmann [off-list ref] writes:
quoted hunk
diff --git a/submodule.c b/submodule.c
index 975bc87..eba9b42 100644
--- a/submodule.c
+++ b/submodule.c
@@ -1001,3 +1001,67 @@ int merge_submodule(unsigned char result[20], const char *path,
...
+	if (!fp)
+		die(_("Could not create git link %s"), gitfile_name.buf);
+	fprintf(fp, gitfile_content.buf);
Perhaps.

	fprintf(fp, "%s", gitfile_content.buf);
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help