[Dnsmasq-discuss] space two point eighty one, (Git) alias

Geert Stappers stappers at stappers.nl
Sat Mar 7 12:39:08 GMT 2020


On Sat, Mar 07, 2020 at 12:21:39PM +0100, john doe wrote:
> On 3/7/2020 9:50 AM, Mark Grant wrote:
> > On Fri, 6 Mar 2020 23:38:46 +0100, Geert Stappers wrote:
> >> On Fri, Mar 06, 2020 at 02:53:43PM +0000, Mark Grant wrote:
> >>> On Thu, 5 Mar 2020 22:34:29 +0000, Simon Kelley wrote:
> >>>>
> >>>> The obvious problem with doing that is that for ever more, when I
> >>>} run "git blame" N lines will have the source "Removed useless whitespace".
> >>>>
> >>>> I have a feeling someone once posted a solution to that, but I
> >>>> don't have time to trawl back and find it. Can anyone help?
> >>>>
> >>> Does
> >>>   git blame -w
> >>> do the trick?
> >>>
> >>> Mark
> >>
> >> $ git blame -w src/arp.c | head -n 15
   ...
> >> $ git blame src/arp.c | head -n 15
   ...
> >
> > Thanks. So lines 7 & 12 show the desired behaviour (ignoring
> > whitespace-only changes).
> >
> > AFAICS there is no mechanism to make this the default behaviour within
> > git. A shell alias?
> >
> 
> I would go for Git alias.
> 

Tell us more.  Do something with:
> >>>> I have a feeling someone once posted a solution to that, but I
> >>>> don't have time to trawl back and find it. Can anyone help?



Regards
Geert Stappers
-- 
Silence is hard to parse



More information about the Dnsmasq-discuss mailing list