From be093d98340e324946c04246f744b32a9034b4f2 Mon Sep 17 00:00:00 2001 From: Bernardo Innocenti Date: Tue, 26 Feb 2008 18:23:45 +0100 Subject: [PATCH] Add eperimental git-cat idea --- git-cat | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 git-cat 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]} -- 2.25.1