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

2025年9月02日 20:09:02 -0700

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
$ wc -lwcmL /usr/share/bash-completion/completions/git
 3934 11298 92324 92326 172 /usr/share/bash-completion/completions/git
$ cpm-files git | grep completions/git # latest release test 2.51
 2025年08月30日 10:27 94587 usr/share/bash-completion/completions/git
$ git --version
git version 2.45.1
$ git
add fetch reflog
alias-master-main.sh format-patch remote
am fsck repack
apply gc replace
archive gitk request-pull
archive-all grep reset
bisect gui restore
blame help revert
branch init rm
bundle instaweb scalar
changelog-md.awk latexdiff send-email
checkout log shortlog
cherry main.sh show
cherry-pick maintenance show-branch
citool merge sparse-checkout
clang-format mergetool stage
clean mv stash
clone notes status
commit prune submodule
config pull switch
describe push tag
diff range-diff whatchanged
difftool rebase worktree
$ git ...
$ tar -tf ~/mirror/x86_64/release/git/git-2.45.4-1-x86_64.tar.zst | grep -C3 usr/libexec/git-core/[n-z]
usr/libexec/git-core/mergetools/vimdiff
usr/libexec/git-core/mergetools/winmerge
usr/libexec/git-core/mergetools/xxdiff
usr/libexec/git-core/scalar.exe
usr/share/
usr/share/doc/
usr/share/doc/git/
$ tar -tf /usr/src/git/git-2.45.4-1.src/git-v2.45.4.tar.gz | grep contrib/completion/git
git-v2.45.4/contrib/completion/git-completion.bash
git-v2.45.4/contrib/completion/git-completion.tcsh
git-v2.45.4/contrib/completion/git-completion.zsh
git-v2.45.4/contrib/completion/git-prompt.sh
--
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
--
Problem reports: https://cygwin.com/problems.html
FAQ: https://cygwin.com/faq/
Documentation: https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple

Reply via email to