summaryrefslogtreecommitdiff
path: root/src/diff.h
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2019-11-28 14:41:58 +0100
committerGitHub <noreply@github.com>2019-11-28 14:41:58 +0100
commitfb439c975a2de33f5b0c317f3fdea49dc94b27dc (patch)
treeae22d26f1bc5d91f947577c291309cb57c2ebd77 /src/diff.h
parent61176a9b363b1274c101d82f36cbf9cb71a10f74 (diff)
parentece5bb5e7d6e35e50096bac3d7bf17342daaec77 (diff)
downloadlibgit2-fb439c975a2de33f5b0c317f3fdea49dc94b27dc.tar.gz
Merge pull request #5306 from herrerog/patchid
diff: complete support for git patchid
Diffstat (limited to 'src/diff.h')
-rw-r--r--src/diff.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/diff.h b/src/diff.h
index 93374b96e..1a4ee47e0 100644
--- a/src/diff.h
+++ b/src/diff.h
@@ -57,7 +57,8 @@ extern int git_diff_delta__format_file_header(
const git_diff_delta *delta,
const char *oldpfx,
const char *newpfx,
- int oid_strlen);
+ int oid_strlen,
+ bool print_index);
extern int git_diff_delta__cmp(const void *a, const void *b);
extern int git_diff_delta__casecmp(const void *a, const void *b);