]> git.99rst.org Git - git.git/commit
completion: bash: fix prefix detection in branch.*
authorFelipe Contreras <redacted>
Mon, 16 Aug 2021 09:10:22 +0000 (04:10 -0500)
committerJunio C Hamano <redacted>
Wed, 18 Aug 2021 18:17:25 +0000 (11:17 -0700)
commitbf8ae49a8f7d8b6dd87bbea34e6566e8581ab231
tree5fb725e92a5318de7077fff14289463cd3b99c0f
parentebf3c04b262aa27fbb97f8a0156c2347fecafafb
completion: bash: fix prefix detection in branch.*

Otherwise we are completely ignoring the --cur argument.

The issue can be tested with:

  git clone --config=branch.<tab>

Reviewed-by: SZEDER Gábor <redacted>
Tested-by: David Aguilar <redacted>
Signed-off-by: Felipe Contreras <redacted>
Signed-off-by: Junio C Hamano <redacted>
contrib/completion/git-completion.bash
git clone https://git.99rst.org/PROJECT