diff options
author | Alex Riesen <raa.lkml@gmail.com> | 2007-04-19 02:05:03 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-04-20 23:24:34 -0700 |
commit | ac78e548049f4e86b38368d2c4b4dbb546c64ac6 (patch) | |
tree | 37994b847883946eefb34b50d53549335525d428 /cache.h | |
parent | 88e7fdf2cb436e068434241b0519577293055c19 (diff) | |
download | git-ac78e548049f4e86b38368d2c4b4dbb546c64ac6.tar.gz git-ac78e548049f4e86b38368d2c4b4dbb546c64ac6.tar.xz |
Simplify calling of CR/LF conversion routines
Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -496,8 +496,8 @@ extern void trace_printf(const char *format, ...); extern void trace_argv_printf(const char **argv, int count, const char *format, ...); /* convert.c */ -extern int convert_to_git(const char *path, char **bufp, unsigned long *sizep); -extern int convert_to_working_tree(const char *path, char **bufp, unsigned long *sizep); +extern char *convert_to_git(const char *path, const char *src, unsigned long *sizep); +extern char *convert_to_working_tree(const char *path, const char *src, unsigned long *sizep); /* match-trees.c */ void shift_tree(const unsigned char *, const unsigned char *, unsigned char *, int); |