Re: [PATCH 1/3] diff.c: add --output-indicator-{new, old, context}

2018-08-21 Thread Johannes Schindelin
Hi Stefan, On Mon, 20 Aug 2018, Stefan Beller wrote: > On Mon, Aug 20, 2018 at 12:31 PM Johannes Schindelin > wrote: > > > > On Fri, 17 Aug 2018, Stefan Beller wrote: > > > > > This will prove useful in range-diff in a later patch as we will be able > > > to differentiate between adding a new

Re: [PATCH 1/3] diff.c: add --output-indicator-{new, old, context}

2018-08-20 Thread Stefan Beller
On Mon, Aug 20, 2018 at 12:31 PM Johannes Schindelin wrote: > > Hi Stefan, > > On Fri, 17 Aug 2018, Stefan Beller wrote: > > > This will prove useful in range-diff in a later patch as we will be able > > to differentiate between adding a new file (that line is starting with > > +++ and then the

Re: [PATCH 1/3] diff.c: add --output-indicator-{new, old, context}

2018-08-20 Thread Johannes Schindelin
Hi Stefan, On Fri, 17 Aug 2018, Stefan Beller wrote: > This will prove useful in range-diff in a later patch as we will be able > to differentiate between adding a new file (that line is starting with > +++ and then the file name) and regular new lines. > > It could also be useful for

[PATCH 1/3] diff.c: add --output-indicator-{new, old, context}

2018-08-17 Thread Stefan Beller
This will prove useful in range-diff in a later patch as we will be able to differentiate between adding a new file (that line is starting with +++ and then the file name) and regular new lines. It could also be useful for experimentation in new patch formats, i.e. we could teach git to emit