[PATCH 2/2] bugfix: make ss-diff correctly handle tab expansion

Jason A. Donenfeld Jason at zx2c4.com
Tue Oct 30 18:25:47 CET 2012


> len % 8 == 0 ? 8 : (8 - len % 8)


if len % 8 == 0,
    8


8 = 8 - 0
len % 8 := 0
8 = 8 - (len % 8)


so the original formula holds




More information about the CGit mailing list