Re: [PATCH v3 1/3] diff-highlight: add some tests.

2016-08-19 Thread Eric Wong
Brian Henderson wrote: > On Fri, Aug 19, 2016 at 11:10:55AM -0700, Junio C Hamano wrote: > > > > > +# vim: set noet > > > > We tend to avoid cluttering the source with editor specific insns > > like this. > > oops. > > Anyone have any suggestions for project level vim settings? vim defaults w

Re: [PATCH v3 1/3] diff-highlight: add some tests.

2016-08-19 Thread Brian Henderson
On Fri, Aug 19, 2016 at 11:10:55AM -0700, Junio C Hamano wrote: > > > +# vim: set noet > > We tend to avoid cluttering the source with editor specific insns > like this. oops. Anyone have any suggestions for project level vim settings? -- To unsubscribe from this list: send the line "unsubscrib

Re: [PATCH v3 1/3] diff-highlight: add some tests.

2016-08-19 Thread Junio C Hamano
> +# dh_test is a test helper function which takes 1) some file data, 2) some > +# change of the file data, creates a diff and commit of the changes and > passes > +# that through diff-highlight. The optional 3rd parameter is the expected > +# output of diff-highlight minus the diff/commit header

[PATCH v3 1/3] diff-highlight: add some tests.

2016-08-19 Thread Brian Henderson
Signed-off-by: Brian Henderson --- contrib/diff-highlight/Makefile | 5 + contrib/diff-highlight/t/Makefile| 22 contrib/diff-highlight/t/t9400-diff-highlight.sh | 150 +++ 3 files changed, 177 insertions(+) create mode 100644 contrib/