Package: git
Version: 2.19.1-1

The completions file for git are being installed into the obsolete
directory, /etc/bash_completion.d/, when they should be installed under
the default directory, /usr/share/bash-completion/completions.

The reason for this is that the obsolete directory is hardcoded:

    $ dget http://http.debian.net/debian/pool/main/g/git/git_2.19.1-1.dsc
    $ grep -RnE completion git-2.19.1/
    git-2.19.1/debian/git.install:4:debian/git-prompt.completion => 
etc/bash_completion.d/git-prompt

I believe that the fix needs to be done in git, rather than in
bash-completion, as explained in bug report 811496, more specifically,
in message 83 [1].

Thanks,
Gabriel

[1] https://bugs.debian.org/811496#83

Reply via email to