summaryrefslogtreecommitdiff
path: root/quote.h
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-11-29 06:55:25 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-11-29 06:55:25 (GMT)
commit9ef2b3cbf62d15aa0312bde349347873d7c0f399 (patch)
tree80083c23c526bb58f12fd3895887cf57a8db3a16 /quote.h
parentffb1a4bed55534e276a0e4fc7dc1c94d17be8579 (diff)
downloadgit-9ef2b3cbf62d15aa0312bde349347873d7c0f399.zip
git-9ef2b3cbf62d15aa0312bde349347873d7c0f399.tar.gz
git-9ef2b3cbf62d15aa0312bde349347873d7c0f399.tar.bz2
write_name_quoted(): make one of the path a counted string.
This is to prepare for ls-tree updates. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'quote.h')
-rw-r--r--quote.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/quote.h b/quote.h
index 2486e6e..c1ab378 100644
--- a/quote.h
+++ b/quote.h
@@ -41,7 +41,7 @@ extern int quote_c_style(const char *name, char *outbuf, FILE *outfp,
int nodq);
extern char *unquote_c_style(const char *quoted, const char **endp);
-extern void write_name_quoted(const char *prefix, const char *name,
- int quote, FILE *out);
+extern void write_name_quoted(const char *prefix, int prefix_len,
+ const char *name, int quote, FILE *out);
#endif