Commit Diff


commit - 1ca4538ef452ce30ab8bf21509e9a0a7beb262e0
commit + 0857e5e4f4cd18ab9fc0e8ff34992e4d0ff59b85
blob - /dev/null
blob + 01e5a1d9194487f5520140ba26cb17db4944406d (mode 755)
--- /dev/null
+++ util/uncompress-loose-object.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+# requires zlib-flate which is part of the qpdf package: pkg_add qpdf
+
+if [ "$1" != "" ]; then
+	zlib-flate -uncompress < "$1"
+else
+	zlib-flate -uncompress
+fi