Add "git checkout" that does what the name suggests
[gitweb.git] / tar-tree.c
index c2eb21c97bd75567ded74e89b2b118730710ba01..4c47fc2bec1e6305d122865e2da318bc795ab8ef 100644 (file)
@@ -77,7 +77,7 @@ static void write_trailer(void)
        write_if_needed();
        get_record();
        write_if_needed();
-       if (offset) {
+       while (offset) {
                get_record();
                write_if_needed();
        }