Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
use strbuf_addbuf() for appending a strbuf to another
[gitweb.git]
/
path.c
diff --git
a/path.c
b/path.c
index 38f2ebd6bfad2b1557b06ce34a0154603533dd65..e1bc8f04fe221e3ee14ba3b5cf9606001ee66e6a 100644
(file)
--- a/
path.c
+++ b/
path.c
@@
-246,7
+246,7
@@
static void do_submodule_path(struct strbuf *buf, const char *path,
strbuf_addstr(buf, git_dir);
}
strbuf_addch(buf, '/');
- strbuf_add
str(&git_submodule_dir, buf->
buf);
+ strbuf_add
buf(&git_submodule_dir,
buf);
strbuf_vaddf(buf, fmt, args);