Skip to content

Commit 6be167f

Browse files
authored
Merge pull request libgit2#4330 from alpha0010/patch-1
Docs: Fix inline comments for git_diff_hunk
2 parents 577aeef + 2a3cfc2 commit 6be167f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

include/git2/diff.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -515,12 +515,12 @@ typedef int(*git_diff_binary_cb)(
515515
* Structure describing a hunk of a diff.
516516
*/
517517
typedef struct {
518-
int old_start; /** Starting line number in old_file */
519-
int old_lines; /** Number of lines in old_file */
520-
int new_start; /** Starting line number in new_file */
521-
int new_lines; /** Number of lines in new_file */
522-
size_t header_len; /** Number of bytes in header text */
523-
char header[GIT_DIFF_HUNK_HEADER_SIZE]; /** Header text, NUL-byte terminated */
518+
int old_start; /**< Starting line number in old_file */
519+
int old_lines; /**< Number of lines in old_file */
520+
int new_start; /**< Starting line number in new_file */
521+
int new_lines; /**< Number of lines in new_file */
522+
size_t header_len; /**< Number of bytes in header text */
523+
char header[GIT_DIFF_HUNK_HEADER_SIZE]; /**< Header text, NUL-byte terminated */
524524
} git_diff_hunk;
525525

526526
/**

0 commit comments

Comments
 (0)