Hi Daniel,

After installing our current 'git-subrepo' deb i noticed, that bash-completion
integration with git does not work. The git-subrepo's own bash completion works,
after you've already typed the first two words 'git subrepo TAB TAB', but the
initial recognition of the 'subrepo' sub-command to the 'git' command does not
work.

It turns out, that current git (bash-completion) in sid does not recognize our
'git-subrepo' executables installed by default into the git-core directory. The
git bash-completion support finds git sub-commands using the 'git --list-
cmds=comma-separated-list-of-cmdgroups', which executes a specific search for
each group. Unfortunately none of the searches brings up the 'subrepo' sub-
command. I do not know what is needed for the 'git-subrepo' inside 'git-core' to
be recognized there. However i noticed, that the --list-cmds group 'other' scans
the /usr/bin/ directory, where our old friend 'git-debrebase' and friends
already reside and are being successfully recognized by git. Thus i prepared a
change (in my salsa repo: in 
https://salsa.debian.org/spog/git-subrepo/-/tree/debian/sid) to change the
target installation directory, which seems to work.

Could you please take a look, how that holds water in debian.

thanks, Samo

Reply via email to