https://github.com/git/git
Revision 3cb567386d5d0349bfb5e3aaf85e973faf685dda authored by Johannes Schindelin on 03 July 2007, 15:01:06 UTC, committed by Junio C Hamano on 03 July 2007, 20:44:30 UTC
Without this patch, an added file would be reported as /dev/null.

Noticed by David Kastrup.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 9cb18f5
Raw File
Tip revision: 3cb567386d5d0349bfb5e3aaf85e973faf685dda authored by Johannes Schindelin on 03 July 2007, 15:01:06 UTC
diff --no-index: fix --name-status with added files
Tip revision: 3cb5673
utf8.h
#ifndef GIT_UTF8_H
#define GIT_UTF8_H

int utf8_width(const char **start);
int is_utf8(const char *text);
int is_encoding_utf8(const char *name);

int print_wrapped_text(const char *text, int indent, int indent2, int len);

#ifndef NO_ICONV
char *reencode_string(const char *in, const char *out_encoding, const char *in_encoding);
#else
#define reencode_string(a,b,c) NULL
#endif

#endif
back to top