Mysterious `applypatch' in any cygwin package?

Eliot Moss moss@cs.umass.edu
Sun Feb 9 18:56:21 GMT 2025


On 2/10/2025 5:46 AM, 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'
> 
> 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.

Try this command: git help apply

> 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

Interesting.  Because <your cygwin root>/bin is mounted on /usr/bin,
/bin and /usr/bin can be expected to be the same, but on my system
at least /usr/local/bin is different.  You can use ls to see if they
are in fact the same file:

ls -li /usr/local/bin/git /usr/bin/git

HTH - Eliot Moss



More information about the Cygwin mailing list