On 09/02/2025 19:46, Soren via Cygwin wrote:
Hello Cygwin community,
I've got a small issue. Out there in the oosphere there is mention of a
tool called "applypatch", and I went looking for it in cygwin pkgs. Using
the invocation
`cygcheck -f applypatch'
not the way to look for a package, see below.
I don't find any packages that supply "applypatch" or "applypatch.exe" but
now when I am writing this I recall seeing some connection to `git', I just
can't reproduce what I did to stumble across that.
In addition to my question about "applypatch", I am wondering about
something else. I've got git version 2.45.1, and I am puzzled by the
existence of "git" in both /usr/bin and /usr/local/bin.
$ type -ap git.exe
/usr/local/bin/git.exe
/usr/bin/git.exe
$ cygcheck -p applypatch
Found 3 matches for applypatch
..
git-2.45.1-1 - git: Distributed version control system
but
$ cygcheck -l git | grep applypatch
/usr/share/git-core/templates/hooks/applypatch-msg.sample
/usr/share/git-core/templates/hooks/pre-applypatch.sample
so the only applypatch's seem potential hooks for git.
About the second question, cygwin packages are NEVER
installed in /usr/local
$ cygcheck -l git | grep bin/git
/usr/bin/git-receive-pack.exe
/usr/bin/git-shell.exe
/usr/bin/git-upload-archive.exe
/usr/bin/git-upload-pack.exe
/usr/bin/git.exe
so /usr/local/bin/git.exe is not coming from the Cygwin package.
Regards
Marco
--
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