mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
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>
This commit is contained in:
4
quote.h
4
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
|
||||
|
||||
Reference in New Issue
Block a user