diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-03-07 22:34:13 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-03-07 22:34:13 -0800 |
commit | 934f788981de941814e821217f32451a5c715d5d (patch) | |
tree | b98d42ef8c9606b34f9b9389d2d65190db1ecc37 /pretty.c | |
parent | 113106e06c48cc80432fd1be8af912898e8f240e (diff) | |
parent | 9a6682bab5e800465f0a4e44cdf18fe396ff4f6d (diff) | |
download | git-934f788981de941814e821217f32451a5c715d5d.tar.gz |
Merge branch 'maint'
* maint:
builtin-revert.c: release index lock when cherry-picking an empty commit
document config --bool-or-int
t1300: use test_must_fail as appropriate
cleanup: add isascii()
Documentation: fix badly indented paragraphs in "--bisect-all" description
Diffstat (limited to 'pretty.c')
-rw-r--r-- | pretty.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -83,8 +83,7 @@ static int get_one_line(const char *msg) /* High bit set, or ISO-2022-INT */ int non_ascii(int ch) { - ch = (ch & 0xff); - return ((ch & 0x80) || (ch == 0x1b)); + return !isascii(ch) || ch == '\033'; } static int is_rfc2047_special(char ch) |