ref: dc47e402e7b53c0e81478aa9560e00ffd73d8332
dir: /common.rc/
nl='
'
fn die{
>[1=2] echo $0: $*
exit $"*
}
fn usage{
>[1=2] echo -n 'usage:' $usage
exit 'usage'
}
fn gitup{
gitroot=`{git/conf -r >[2]/dev/null}
if(~ $#gitroot 0)
die 'not a git repository'
cd $gitroot
git/fs
}