Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
builtin/fmt-merge-message: convert to struct object_id
[gitweb.git]
/
builtin
/
submodule--helper.c
diff --git
a/builtin/submodule--helper.c
b/builtin/submodule--helper.c
index 74614a951e8bb8aef4ed0ef07665f8ec0e43cc78..899dc334e323a53f3e8a2981a1f8140f55f136a9 100644
(file)
--- a/
builtin/submodule--helper.c
+++ b/
builtin/submodule--helper.c
@@
-626,7
+626,7
@@
static int module_clone(int argc, const char **argv, const char *prefix)
module_clone_options);
strbuf_addf(&sb, "%s/modules/%s", get_git_dir(), name);
- sm_gitdir =
xstrdup(absolute_path(sb.buf)
);
+ sm_gitdir =
absolute_pathdup(sb.buf
);
strbuf_reset(&sb);
if (!is_absolute_path(path)) {