summaryrefslogtreecommitdiff
path: root/tag.h
diff options
context:
space:
mode:
authorFelipe Contreras <felipe.contreras@gmail.com>2020-11-12 22:34:52 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-11-17 18:57:46 (GMT)
commite4c75edb52acab8c90520ceedab4326b972cc0af (patch)
tree722aa52162666cb8eca584c22f944ee9fc199f13 /tag.h
parentc2822a842dc993722a9d6f8226189312b95d8801 (diff)
downloadgit-e4c75edb52acab8c90520ceedab4326b972cc0af.zip
git-e4c75edb52acab8c90520ceedab4326b972cc0af.tar.gz
git-e4c75edb52acab8c90520ceedab4326b972cc0af.tar.bz2
completion: bash: improve alias loop detection
It is possible for the name of an alias to end with the name of another alias, in which case the code will incorrectly detect a loop. We can fix that by adding an extra space between words. Suggested-by: SZEDER Gábor <szeder.dev@gmail.com> Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'tag.h')
0 files changed, 0 insertions, 0 deletions