Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 9 lines (6 sloc) 208 Bytes
#!/bin/sh
# create a good looking graph with dot
echo "digraph G {\ndir="LR"\n"
git log --pretty=format:"%h %p" "$@" \
| perl -lna -e 'print qq("$F[0]";), map {qq("$_"->"$F[0]";)} @F[ 1 .. $#F ]'
echo "}"