Thank you for your reply, Eliot. I show very different git executables:

$ ls -li /usr/local/bin/git /usr/bin/git
 3659174698190617 -rwxr-xr-x 142 somia Administrators 3.6M May 25  2024
/usr/bin/git*
19421773393853074 -rwxr-xr-x 142 somia somia           20M Sep  7 21:44
/usr/local/bin/git*

The differing file ownership shows me that I built git last September (and
that it's a humongous file ;-)
in /usr/bin:  version 2.45.1 and in /usr/local/bin: version 2.45.1. Same
version, showing that cygwin is keeping up with upstream, a good thing,
that. I would say "I cannot believe that I compiled git from source and
then forgot that I did so", but at my age (64) it's all too common a
phenomenon.
-- 
Soren 'tino

He's earthy, he's pithy, he's ...a bit astringent.
Think of him more as a "topical antiseptic" than as a snack
.
    somia...@gmail.com  https://instagram.com/samhain08/

On Sun, Feb 9, 2025 at 1:56 PM Eliot Moss <m...@cs.umass.edu> wrote:

> 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
>
>

-- 
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