SZEDER Gábor [off-list ref] writes:
Personally, I prefer the shell function approach. It needs less 'git
config' queries; actually, in this respect it is better than current
master, because there is no 'git config' query at all for the git
command case. Furthermore, I don't really like the idea of putting
completion related stuff into git configuration files, but this is, of
course, subjective.
Well, at least both of us seem to share the same subjective criteria ;-).
The custom shell function approach is the most straightforward.