completion: complete --{reuse,reedit}-message= for all notes subcmds
commitb25e2e64f68f3b1e790da9028c42b305c71580c7
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Wed, 7 Mar 2018 01:05:03 +0000 (7 08:05 +0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 7 Mar 2018 19:02:48 +0000 (7 11:02 -0800)
treecb992022bea8baddeff8b1f3be2e474bfb7c5bf4
parent4ea2c974a0ffef18b966be1bb03168c7f10799c1
completion: complete --{reuse,reedit}-message= for all notes subcmds

The new subcommand that takes these options is 'git notes edit'. Just
accept the options from subcommands since we handle them the same way
in builtin/notes.c anyway. If a user does

    git prune --reuse-message=...

just let the command catches that error when it's executed.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash