[PATCH] Add diff.context option to specify default context

2012-09-14 Thread Jeff Muizelaar
This adds a diff.context config option to allow specifying the number of lines of context. This is similar to Mercurial's 'unified' option. add-context-option Description: Binary data

[PATCH] diff: diff.context configuration gives default to -U

2012-09-27 Thread Jeff Muizelaar
diff.context 8 just once. Signed-off-by: Jeff Muizelaar jmuizel...@mozilla.com --- Documentation/diff-config.txt |4 + diff.c|9 +++- t/t4060-diff-context.sh | 127 + 3 files changed, 139 insertions(+), 1 deletions(-) create

[PATCH] diff: diff.context configuration gives default to -U

2012-09-27 Thread Jeff Muizelaar
diff.context 8 just once. Signed-off-by: Jeff Muizelaar jmuizel...@mozilla.com --- This fixes the tests to behave better and avoids 'grep -v' Documentation/diff-config.txt |4 + diff.c|9 +++- t/t4055-diff-context.sh | 128

[PATCH] diff: diff.context configuration gives default to -U

2012-10-19 Thread Jeff Muizelaar
diff.context 8 just once. Signed-off-by: Jeff Muizelaar jmuizel...@mozilla.com --- On 2012-09-27, at 6:18 PM, Junio C Hamano wrote: Jeff Muizelaar jmuizel...@mozilla.com writes: +if (!strcmp(var, diff.context)) { +diff_context_default = git_config_int(var, value