summaryrefslogtreecommitdiff
path: root/include/git2/diff.h
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2012-07-10 16:24:17 -0700
committerRussell Belfer <rb@github.com>2012-07-10 16:24:17 -0700
commit19017a24e3fccfb82a77e5a4ac40ddc6481c94fd (patch)
tree20b5457afe8d9b2a591c1939a6f90a93aefd1dab /include/git2/diff.h
parent6f41aeab118c93b70f4b3dc838fc963e3c2ee92c (diff)
parent29f9186d1b772994f65bb87ac88180d7d9d4141b (diff)
downloadlibgit2-19017a24e3fccfb82a77e5a4ac40ddc6481c94fd.tar.gz
Merge pull request #797 from yorah/fix/inter-hunk-context
diff: make inter-hunk-context default value git-compliant
Diffstat (limited to 'include/git2/diff.h')
-rw-r--r--include/git2/diff.h2
1 files changed, 1 insertions, 1 deletions
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 */