Skip to content

Commit

Permalink
Merge branch 'jn/mailinfo-scissors'
Browse files Browse the repository at this point in the history
* jn/mailinfo-scissors:
  Teach mailinfo %< as an alternative scissors mark
  • Loading branch information
Junio C Hamano committed Apr 7, 2010
2 parents e3af3cf + 9974e29 commit d6b5af6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion builtin/mailinfo.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d6b5af6

Please sign in to comment.