Where's /usr/share/bash-completion/completions/git?

Brian Inglis Brian.Inglis@SystematicSW.ab.ca
Sat Sep 6 07:06:45 GMT 2025


On 2025-09-05 15:36, Brian Inglis via Cygwin wrote:
> On 2025-09-05 14:51, Kevin Schnitzius via Cygwin wrote:
>> On Tue, Sep 2, 2025 at 11:01 PM Brian Inglis via Cygwin
>> <cygwin@cygwin.com> wrote:
>>>
>>> On 2025-09-02 10:59, ASSI via Cygwin wrote:
>>>> Michael Cook via Cygwin writes:
>>>>> This file used to exist before I upgraded to git-2.45.1-1.
>>>>> But it no longer exists.
>>>> […]
>>>>> What am I missing here?
>>>>
>>>> Most likely nothing, I've got some warnings during the first build of
>>>> the package about the completions and thought I had fixed it.  I'll have
>>>> to check what has been going on, but obviously while the messages were
>>>> gone the actual installation still didn't work..
>>>
>>> WJFFM!
>>>
>>> File installed and also in latest test release 2.51, but appears to be missing
>>> from git 2.45.4 security release NMU?
>>> But the upstream source location and contents of contrib/completion/ does not
>>> change, until 2.48.0[-rc1], when meson.build gets added there.
>>>
>>> $ cygcheck -l git | grep completions/git
>>> /usr/share/bash-completion/completions/git
>>
>> Upgraded to 2.45.4, completion file is missing:
>> eos:/usr/share/bash-completion >cygcheck -l git | grep completions/git
>> eos:/usr/share/bash-completion >git -v
>> git version 2.45.4
>>
>> Downgraded to 2.45.1:
>> eos:/usr/share/bash-completion >cygcheck -l git | grep completions/git
>> /usr/share/bash-completion/completions/git
>> eos:/usr/share/bash-completion >git -v
>> git version 2.45.1
>>
>> Upgraded again, still missing:
>> eos:/usr/share/bash-completion >cygcheck -l git | grep completions/git
>> eos:/usr/share/bash-completion >git -v
>> git version 2.45.4
>>
>> Upgrade to test 2.51.0, test version has the script:
>> eos:/usr/share/bash-completion >cygcheck -l git | grep completions/git
>> /usr/share/bash-completion/completions/git
>> eos:/usr/share/bash-completion >git -v
>> git version 2.51.0
>>
>>
>> Looks like 2.45.4 is a problem, but it is an upstream problem.
> 
> I see no obviously relevant changes in the upstream source files, or autoconf or 
> automake definitions, so it looks like it might be an issue during the cygport 
> install or package phases?

I have checked Cygwin git, bash-completion/-devel, and pkgconf/pkg-config 
packages, and I do not see any changes affecting completion installation, unless 
there were glitches affecting the packaging of git 2.45.4, or earlier 
bash-completion, or pkgconf/pkg-config updates between git 2.45.1 and current 
stable of those packages, on the systems used to build and package those deployed?

-- 
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retrancher  but when there is no more to cut
                                 -- Antoine de Saint-Exupéry


More information about the Cygwin mailing list