Re: [PATCH 2/2] Use 'env' to find perl instead of fixed path
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jan 13, 2017, 15:27 UTC
- Message-ID
- <alpine.DEB.2.20.1701131626160.3469@virtualbox>
- In-Reply-To
- <20170113024842.GA20572@starla>
Hi Eric,
On Fri, 13 Jan 2017, Eric Wong wrote:
Show 7 quoted lines
> Pat Pannuto <pat.pannuto@gmail.com> wrote: > > You may still want the 1/2 patch in this series, just to make things > > internally consistent with "-w" vs "use warnings;" inside git's perl > > scripts. > > No, that is a step back. "-w" affects the entire process, so it > spots more potential problems.
I guess I do not understand, still, what the difference is between using -w and adding `use warnings` *very early* in the script... Could you give an example where it makes a difference?
Ciao, Dscho