Re: [PATCH v2 2/3] Optionally skip linking/copying the built-ins
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Aug 25, 2020, 08:20 UTC
- Message-ID
- <nycvar.QRO.7.76.6.2008251014380.56@tvgsbejvaqbjf.bet>
- In-Reply-To
- <xmqqmu2j50kk.fsf@gitster.c.googlers.com>
Hi Junio,
On Mon, 24 Aug 2020, Junio C Hamano wrote:
Show 9 quoted lines
> "Johannes Schindelin via GitGitGadget" <gitgitgadget@gmail.com> > writes: > > > While Git still supports the dashed form (by hard-linking the `git` > > executable to the dashed name in `libexec/git-core/`), in practice, it > > is probably almost irrelevant. > > It is irrelevant when you have to say "probably" without facts, and > this paragraph is not necessary to justify this option. I'd omit it.
I would like to gently request to keep the sentence in, as it will provide me with the context when I stumble across this commit the next time.
> We do care about keeping people's scripts working (even if they were > written before Windows folks started using Git---those people who > started using Git before that still exist ;-).
That, however, I totally understand, and I think you're right, I should add this sentence (in one form or another).
Show 15 quoted lines
> > In fact, some platforms (such as Windows) only started gaining > > meaningful Git support _after_ the dashed form was deprecated, and > > therefore one would expect that all this hard-linking is unnecessary on > > those platforms. > > > > In addition to that, some programs that are regularly used to assess > > disk usage fail to realize that those are hard-links, and heavily > > overcount disk usage. Most notably, this was the case with Windows > > Explorer up until the last couple of Windows 10 versions. > > However, the above two paragraphs I would suggest to keep, as they > do matter---it is a good justification to have this configurable. > Windows folks won't be able to copy and use POSIX shell scripts > written by folks before the Windows port of Git was started to > become widely used anyway.
Excellent!
Ciao, Dscho