view contrib/git-viz/git-diff-tree @ 1150:4ee09418c8e5

bash_completion: better handling of aliases Instead of listing every alias in the big case..esac, use hg help to get the canonical name of the command.
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Mon, 29 Aug 2005 20:37:07 +0200
parents d8abb687d501
children
line wrap: on
line source

#!/bin/sh

op=`basename $0 | sed -e 's/^git-//'`
exec hgit $op "$@"