From 29f9186d1b772994f65bb87ac88180d7d9d4141b Mon Sep 17 00:00:00 2001 From: yorah Date: Mon, 2 Jul 2012 11:18:01 +0200 Subject: diff: make inter-hunk-context default value git-compliant Default in git core is 0, not 3 --- include/git2/diff.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/git2/diff.h') diff --git a/include/git2/diff.h b/include/git2/diff.h index d4d0eac47..edec9957b 100644 --- a/include/git2/diff.h +++ b/include/git2/diff.h @@ -60,7 +60,7 @@ enum { typedef struct { uint32_t flags; /**< defaults to GIT_DIFF_NORMAL */ uint16_t context_lines; /**< defaults to 3 */ - uint16_t interhunk_lines; /**< defaults to 3 */ + uint16_t interhunk_lines; /**< defaults to 0 */ char *old_prefix; /**< defaults to "a" */ char *new_prefix; /**< defaults to "b" */ git_strarray pathspec; /**< defaults to show all paths */ -- cgit v1.2.1