Edit

thodg/got/util

Branch :

  • Show log

    Commit

  • Author : Stefan Sperling
    Date : 2018-04-01 13:48:45
    Hash : 0857e5e4
    Message : add a script which decompresses a git object I will never remember which command to use and how to get it...

  • uncompress-loose-object.sh
  • #!/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