completion: complete refs after 'git restore -s'
authorÁkos Uzonyi <redacted>
Fri, 25 Sep 2020 21:11:24 +0000 (23:11 +0200)
committerJunio C Hamano <redacted>
Sat, 26 Sep 2020 22:30:05 +0000 (15:30 -0700)
commit0bc18daa2f5d05b1b77293aef391008e07076d02
tree02ae10e920814d41c9c2b145f79888eb6041a470
parentc09d1280f7787020e28844e8fd615d973d2a811e
completion: complete refs after 'git restore -s'

Currently only the long version (--source=) supports completion.

Add completion support to the short (-s) option too.

Signed-off-by: Ákos Uzonyi <redacted>
Signed-off-by: Junio C Hamano <redacted>
contrib/completion/git-completion.bash
git clone https://git.99rst.org/PROJECT