Change semantics of interpolate to work like snprintf.
authorPierre Habouzit <madcoder@debian.org>
Mon, 10 Sep 2007 10:35:05 +0000 (12:35 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 10 Sep 2007 19:48:33 +0000 (12:48 -0700)
commit4acfd1b799acf43642a28a22cc794266c25129ef
treece3f9ee6de2a335e06d600b459c5679710a80f84
parentf1696ee398e92bcea3cdc7b3da85d8e0f77f6c50
Change semantics of interpolate to work like snprintf.

  Also fix many off-by-ones and a useless memset.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
commit.c
interpolate.c