Re: Change Native Windows shell

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Steven,

On Mon, 8 Jun 2020, Steven Penny wrote:

> On Mon, Jun 8, 2020 at 5:46 PM Johannes Schindelin wrote:
> > That assumes that PowerShell is installed, which is not guaranteed,
> > either.
> >
> > Besides, quoting rules are most likely different with PowerShell than what
> > Git assumes, so you will have to take care of that, too.
> >
> > Finally, there are plenty of tips out there in the internet that simply
> > expect a POSIX shell to execute those script snippets. Any user would be
> > completely (and unnnecessarily) puzzled if those snippets won't work with
> > their Git for Windows.
> >
> > In short: it would be unwise for me to accept this change into Git for
> > Windows, at least as-is.
>
> I found a workaround. It seems as long as PAGER or similar is not get, then
> Git just tries to call `less.exe`. I didnt realize when I first posted this,
> but native Windows Less is available:
>
> https://github.com/jftuga/less-Windows/releases
>
> So I am just bundling that with my Windows native Git:
>
> https://github.com/nu8/gulf/releases

What is your plan to address concerns of users trying to run popular
hooks? Those example hooks, and recommended hooks, that you can find e.g.
on StackOverflow are all POSIX shell scripts.

Ciao,
Johannes




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux