]> git.ipfire.org Git - thirdparty/git.git/commit
completion: bash: support recursive aliases
authorFelipe Contreras <felipe.contreras@gmail.com>
Tue, 10 Nov 2020 02:03:42 +0000 (20:03 -0600)
committerJunio C Hamano <gitster@pobox.com>
Tue, 10 Nov 2020 02:09:21 +0000 (18:09 -0800)
commit9414938c348f47c76dcea7826ea0b22adb585300
tree97284598bbf3e3350d51b0364b7c0b82e8c8ba39
parente4d83eee9239207622e2b1cc43967da5051c189c
completion: bash: support recursive aliases

It is possible to have recursive aliases like:

  l = log --oneline
  lg = l --graph

So the completion should detect such aliases as well.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash
t/t9902-completion.sh