summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2017-08-14 22:04:29 +0100
committerGitHub <noreply@github.com>2017-08-14 22:04:29 +0100
commit6be167f13076294721b8707197ce2d049313fb0b (patch)
tree38e6cb5a9cef6077caeefd0e290fdc1de6a53a13
parent577aeef7e96a76faaabf731d0762b5b723ea6c4b (diff)
parent2a3cfc236d53e50244451190dfd563966192ce91 (diff)
downloadlibgit2-6be167f13076294721b8707197ce2d049313fb0b.tar.gz
Merge pull request #4330 from alpha0010/patch-1
Docs: Fix inline comments for git_diff_hunk
-rw-r--r--include/git2/diff.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/git2/diff.h b/include/git2/diff.h
index 40536cb8b..75f1e1975 100644
--- a/include/git2/diff.h
+++ b/include/git2/diff.h
@@ -515,12 +515,12 @@ typedef int(*git_diff_binary_cb)(
* Structure describing a hunk of a diff.
*/
typedef struct {
- int old_start; /** Starting line number in old_file */
- int old_lines; /** Number of lines in old_file */
- int new_start; /** Starting line number in new_file */
- int new_lines; /** Number of lines in new_file */
- size_t header_len; /** Number of bytes in header text */
- char header[GIT_DIFF_HUNK_HEADER_SIZE]; /** Header text, NUL-byte terminated */
+ int old_start; /**< Starting line number in old_file */
+ int old_lines; /**< Number of lines in old_file */
+ int new_start; /**< Starting line number in new_file */
+ int new_lines; /**< Number of lines in new_file */
+ size_t header_len; /**< Number of bytes in header text */
+ char header[GIT_DIFF_HUNK_HEADER_SIZE]; /**< Header text, NUL-byte terminated */
} git_diff_hunk;
/**