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
This commit is contained in:
Junio C Hamano
2009-03-07 22:34:13 -08:00
7 changed files with 48 additions and 9 deletions

View File

@ -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)