【patch】
diff --git a/Git.pm b/Git.pm
index ba94453..479c2e9 100755
--- a/Git.pm
+++ b/Git.pm
@@ -821,6 +821,7 @@ sub hash_and_insert_object {
throw Error::Simple("in pipe went bad");
}
+ $self->_close_hash_and_insert_object();
return $hash;
}
@@ -910,6 +911,7 @@ sub cat_blob {
throw Error::Simple("couldn't write to passed in filehandle");
}
+ $self->_close_cat_blob();
return $size;
}