Re: [PATCH 1/1] contrib/git-jump/git-jump: support alias expansion

2019-09-04 Thread Taylor Blau
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` |

[PATCH 1/1] contrib/git-jump/git-jump: support alias expansion

2019-09-04 Thread Taylor Blau
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