diff options
author | Carlos MartÃn Nieto <carlosmn@github.com> | 2016-10-16 12:57:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-16 12:57:29 +0200 |
commit | 67dd314086fd743f2fc5032e9c7ff901cb5e8bab (patch) | |
tree | 93f4f43d74dac923e765fc97ff65e411be72838e | |
parent | dcd759b8293b7954ad717263ddeca7781ccee219 (diff) | |
parent | 6d8ecf087c35fa4f129c6e15017aba55ef3b4986 (diff) | |
download | libgit2-67dd314086fd743f2fc5032e9c7ff901cb5e8bab.tar.gz |
Merge pull request #3966 from vivaladav/documentation-fixes
patch: minor documentation fix.
-rw-r--r-- | include/git2/patch.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/patch.h b/include/git2/patch.h index 790cb74fc..4eb9f0263 100644 --- a/include/git2/patch.h +++ b/include/git2/patch.h @@ -191,7 +191,7 @@ GIT_EXTERN(int) git_patch_get_hunk( * * @param patch The git_patch object * @param hunk_idx Index of the hunk - * @return Number of lines in hunk or -1 if invalid hunk index + * @return Number of lines in hunk or GIT_ENOTFOUND if invalid hunk index */ GIT_EXTERN(int) git_patch_num_lines_in_hunk( const git_patch *patch, |