Re: [PATCH v2 12/12] pretty: support %>> that steal trailing spaces

2013-04-01 Thread Junio C Hamano
The last three patches are a lot of fun. It would be nice to have some test vectors for them. Thanks. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH v2 12/12] pretty: support %>> that steal trailing spaces

2013-03-30 Thread Nguyễn Thái Ngọc Duy
This is pretty useful in `%<(100)%s%Cred%>(20)% an' where %s does not use up all 100 columns and %an needs more than 20 columns. By replacing %>(20) with %>>(20), %an can steal spaces from %s. %>> understands escape sequences, so %Cred does not stop it from stealing spaces in %<(100). Signed-off-