docker/docker — pull request #8063 by jlhawn (2014-09-16 07:01:36+00:00)
Title: Refactor of tarsum; correct close and finish reads

Tarsum now correctly closes the internal TarWriter which appends
a block of 1024 zeros to the end of the returned archive.

Also a small refactor of the Read() method to use fewer levels
of indentation; move initialization out to separate method.

Signed-off-by: Josh Hawn