зеркало из https://github.com/microsoft/git.git
Merge branch 'jn/mailinfo-scissors'
* jn/mailinfo-scissors: Teach mailinfo %< as an alternative scissors mark
This commit is contained in:
Коммит
d6b5af6d76
|
@ -746,7 +746,8 @@ static int is_scissors_line(const struct strbuf *line)
|
|||
continue;
|
||||
}
|
||||
if (i + 1 < len &&
|
||||
(!memcmp(buf + i, ">8", 2) || !memcmp(buf + i, "8<", 2))) {
|
||||
(!memcmp(buf + i, ">8", 2) || !memcmp(buf + i, "8<", 2) ||
|
||||
!memcmp(buf + i, ">%", 2) || !memcmp(buf + i, "%<", 2))) {
|
||||
in_perforation = 1;
|
||||
perforation += 2;
|
||||
scissors += 2;
|
||||
|
|
Загрузка…
Ссылка в новой задаче