From: Bernardo Innocenti Date: Tue, 26 Feb 2008 17:23:45 +0000 (+0100) Subject: Add eperimental git-cat idea X-Git-Tag: v3.0~30 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=be093d98340e324946c04246f744b32a9034b4f2;p=geekigeeki.git Add eperimental git-cat idea --- diff --git a/git-cat b/git-cat new file mode 100755 index 0000000..5b9945c --- /dev/null +++ b/git-cat @@ -0,0 +1,7 @@ +if [ $# -ne 1 ] ; then + echo "Usage: $0 {path}" + exit 1 +fi + +info=(`git ls-tree HEAD $1`) +git-cat-file blob ${info[2]}