git-tar-tree: Simplify write_trailer()
commit37958be79227dc01f965993174af42672fc6756c
authorRene Scharfe <rene.scharfe@lsrfire.ath.cx>
Sun, 18 Jun 2006 10:57:56 +0000 (18 12:57 +0200)
committerJunio C Hamano <junkio@cox.net>
Sun, 18 Jun 2006 11:17:49 +0000 (18 04:17 -0700)
treeedc3c29b8f310916509ea3bf869be485f23232a2
parentcb115748ec0d4c6faccd09f3637ea436482dd7d5
git-tar-tree: Simplify write_trailer()

We can write the trailer in one or at most two steps; it will always
fit within two blocks.  With the last caller of get_record() gone we
can get rid of it.

Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-tar-tree.c