Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jh/quiltimport-explicit-series-file'
[gitweb.git]
/
submodule.c
diff --git
a/submodule.c
b/submodule.c
index 9fcc86faa2ca48223eeaeaabc334d3f94d771c92..245ed4dfbb6a3d54adbd41d5de0ea64cf38dc8a3 100644
(file)
--- a/
submodule.c
+++ b/
submodule.c
@@
-1033,7
+1033,7
@@
void connect_work_tree_and_git_dir(const char *work_tree, const char *git_dir)
/* Update gitfile */
strbuf_addf(&file_name, "%s/.git", work_tree);
- write_file(file_name.buf,
1, "gitdir: %s\n
",
+ write_file(file_name.buf,
"gitdir: %s
",
relative_path(git_dir, real_work_tree, &rel_path));
/* Update core.worktree setting */