On Wed, Sep 04, 2019 at 01:55:03PM -0400, Taylor Blau wrote:
> @@ -68,7 +70,7 @@ if test $# -lt 1; then
> usage >&2
> exit 1
> fi
> -mode=$1; shift
> +mode="$(git config --default "$1" --get -- "alias.$1")"; shift
>
> trap 'rm -f "$tmp"' 0 1 2 3 15
> tmp=`mktemp -t git-jump.XX` |
When a caller of 'git-jump' has, say, the alias 'di' assigned to 'diff',
it can be cumbersome to remember to type 'git jump diff' instead of the
shorthand '... di' that they are used to.
Let's teach 'git-jump' to expand these aliases before calling the
mode-specific subroutine. Do so by fetching t
2 matches
Mail list logo