diff options
| author | Russell Belfer <rb@github.com> | 2013-03-09 08:09:17 -0800 |
|---|---|---|
| committer | Russell Belfer <rb@github.com> | 2013-03-09 08:09:17 -0800 |
| commit | 57e765b2e828db07bf474897985f1d7e6e47bd79 (patch) | |
| tree | f4c255cfa982becd1392608c1b60ea7c8b15fe97 /include/git2/diff.h | |
| parent | 0887b580bfe83a9f6e9a8530368a22e478411a0f (diff) | |
| parent | 1aa5318a9ec4f0ec16518d1102b29e5ba94a801a (diff) | |
| download | libgit2-57e765b2e828db07bf474897985f1d7e6e47bd79.tar.gz | |
Merge pull request #1175 from carlosmn/diff-0-ctx
Can't perform diff with no context lines
Diffstat (limited to 'include/git2/diff.h')
| -rw-r--r-- | include/git2/diff.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/diff.h b/include/git2/diff.h index ca3484332..e49e6e539 100644 --- a/include/git2/diff.h +++ b/include/git2/diff.h @@ -289,7 +289,7 @@ typedef struct { } git_diff_options; #define GIT_DIFF_OPTIONS_VERSION 1 -#define GIT_DIFF_OPTIONS_INIT {GIT_DIFF_OPTIONS_VERSION} +#define GIT_DIFF_OPTIONS_INIT {GIT_DIFF_OPTIONS_VERSION, GIT_DIFF_NORMAL, 3} /** * When iterating over a diff, callback that will be made per file. |
