Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 14 lines (10 sloc) 314 Bytes
#!/bin/sh
filename=$1
want=$(git-hash-object "$filename")
git-rev-list --since="6 months ago" HEAD | while read commit ; do
git-ls-tree -r $commit | while read perm type hash filename; do
if test "$want" = "$hash"; then
echo matched $filename in commit $commit
fi
done
done