diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2013-03-09 16:04:34 +0100 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2013-03-09 16:04:34 +0100 |
commit | 1aa5318a9ec4f0ec16518d1102b29e5ba94a801a (patch) | |
tree | f4c255cfa982becd1392608c1b60ea7c8b15fe97 /tests-clar/diff/rename.c | |
parent | 0887b580bfe83a9f6e9a8530368a22e478411a0f (diff) | |
download | libgit2-1aa5318a9ec4f0ec16518d1102b29e5ba94a801a.tar.gz |
diff: allow asking for diffs with no context
Previously, 0 meant default. This is problematic, as asking for 0
context lines is a valid thing to do.
Change GIT_DIFF_OPTIONS_INIT to default to three and stop treating 0
as a magic value. In case no options are provided, make sure the
options in the diff object default to 3.
Diffstat (limited to 'tests-clar/diff/rename.c')
0 files changed, 0 insertions, 0 deletions