#!/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]}