whitespace: replumb ws_fix_copy to take a strbuf *dst instead of char *dst
commitd511bd330d66fe8f0be21855888e30af2f3e373b
authorChris Webb <chris@arachsys.com>
Fri, 2 Apr 2010 23:37:23 +0000 (3 00:37 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sun, 4 Apr 2010 21:21:54 +0000 (4 14:21 -0700)
tree0df8a6905ac831f252d478863d2c1263073581a7
parentb27eb49948c90af11cee39301d03c37a05e066de
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>
builtin/apply.c
cache.h
ws.c