author | Chris Webb <chris@arachsys.com> | |
Fri, 2 Apr 2010 23:37:23 +0000 (00:37 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 4 Apr 2010 21:21:54 +0000 (14:21 -0700) | ||
commit | d511bd330d66fe8f0be21855888e30af2f3e373b | |
tree | 0df8a6905ac831f252d478863d2c1263073581a7 | tree | snapshot |
parent | b27eb49948c90af11cee39301d03c37a05e066de | commit | diff |
whitespace: replumb ws_fix_copy to take a strbuf *dst instead of char *dst
To implement --whitespace=fix for tab-in-indent, we have to allow for the
possibility that whitespace can increase in size when it is fixed, expanding
tabs to to multiple spaces in the initial indent.
Signed-off-by: Chris Webb <chris@arachsys.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
To implement --whitespace=fix for tab-in-indent, we have to allow for the
possibility that whitespace can increase in size when it is fixed, expanding
tabs to to multiple spaces in the initial indent.
Signed-off-by: Chris Webb <chris@arachsys.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/apply.c | diff | blob | history | |
cache.h | diff | blob | history | |
ws.c | diff | blob | history |