X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=git-cat;h=91c3eb9f7294086d13b8027ea688244b42d01fce;hb=bfa2f63dc09c936f10b7cc3c1ee0c1c136af3591;hp=5b9945ca4255661837f65a189841a8eff6a424b4;hpb=be093d98340e324946c04246f744b32a9034b4f2;p=geekigeeki.git diff --git a/git-cat b/git-cat index 5b9945c..91c3eb9 100755 --- a/git-cat +++ b/git-cat @@ -1,7 +1,10 @@ -if [ $# -ne 1 ] ; then +#!/bin/bash +# Copyright 2009 Bernie Innocenti + +if [ $# -ne 1 ]; then echo "Usage: $0 {path}" exit 1 fi info=(`git ls-tree HEAD $1`) -git-cat-file blob ${info[2]} +git cat-file blob ${info[2]}