summaryrefslogtreecommitdiff
path: root/tests/patch/parse.c
diff options
context:
space:
mode:
authorGregory Herrero <gregory.herrero@oracle.com>2019-11-07 13:02:38 +0100
committerGregory Herrero <gregory.herrero@oracle.com>2019-11-19 09:32:23 +0100
commitaccd78486523ef875a941ed65b02c56902074d76 (patch)
tree2e946b4a44b07d9990f03853761c3bd3b85211f5 /tests/patch/parse.c
parent47dd665a62c3ac826277e6eda1287cf9291e8620 (diff)
downloadlibgit2-accd78486523ef875a941ed65b02c56902074d76.tar.gz
diff_print: add a new 'print_index' flag when printing diff.
Add a new 'print_index' flag to let the caller decide whether or not 'index <oid>..<oid>' should be printed. Since patch id needs not to have index when hashing a patch, it will be useful soon. Signed-off-by: Gregory Herrero <gregory.herrero@oracle.com>
Diffstat (limited to 'tests/patch/parse.c')
0 files changed, 0 insertions, 0 deletions