Noticed-by: Jeff King <[email protected]>
---
abspath.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/abspath.c b/abspath.c
index 16e7fa2..6aa328f 100644
--- a/abspath.c
+++ b/abspath.c
@@ -58,7 +58,7 @@ static const char *real_path_internal(const char *path, int
die_on_error)
goto error_out;
}
- strbuf_init(&sb, 0);
+ strbuf_reset(&sb);
strbuf_addstr(&sb, path);
while (depth--) {
--
2.0.2
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html