diff options
author | Gregory Herrero <gregory.herrero@oracle.com> | 2019-11-07 13:02:38 +0100 |
---|---|---|
committer | Gregory Herrero <gregory.herrero@oracle.com> | 2019-11-19 09:32:23 +0100 |
commit | accd78486523ef875a941ed65b02c56902074d76 (patch) | |
tree | 2e946b4a44b07d9990f03853761c3bd3b85211f5 /tests/patch/parse.c | |
parent | 47dd665a62c3ac826277e6eda1287cf9291e8620 (diff) | |
download | libgit2-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