diff options
| author | Ben Straub <bs@github.com> | 2013-10-28 05:22:37 -0700 |
|---|---|---|
| committer | Ben Straub <bs@github.com> | 2013-10-28 05:22:37 -0700 |
| commit | a7d28f40a2a01382b76c55ca0a0672c177adaf69 (patch) | |
| tree | bf6fa0250fc3ee3950a2221c7150037472423db4 /src | |
| parent | 7f6db0ad121a3fdfdb9249c71b6650f771f4f6b3 (diff) | |
| download | libgit2-a7d28f40a2a01382b76c55ca0a0672c177adaf69.tar.gz | |
:heart: bool
Diffstat (limited to 'src')
| -rw-r--r-- | src/blame.h | 4 | ||||
| -rw-r--r-- | src/blame_git.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/blame.h b/src/blame.h index b50021a24..637e43985 100644 --- a/src/blame.h +++ b/src/blame.h @@ -42,11 +42,11 @@ typedef struct git_blame__entry { /* true if the suspect is truly guilty; false while we have not * checked if the group came from one of its parents. */ - char guilty; + bool guilty; /* true if the entry has been scanned for copies in the current parent */ - char scanned; + bool scanned; /* the line number of the first line of this group in the * suspect's file; internally all line numbers are 0 based. diff --git a/src/blame_git.c b/src/blame_git.c index 4df65139a..2b02443de 100644 --- a/src/blame_git.c +++ b/src/blame_git.c @@ -602,7 +602,7 @@ void git_blame__like_git(git_blame *blame, uint32_t opt) /* Take responsibility for the remaining entries */ for (ent = blame->ent; ent; ent = ent->next) { if (same_suspect(ent->suspect, suspect)) { - ent->guilty = 1; + ent->guilty = true; ent->is_boundary = !git_oid_cmp( git_commit_id(suspect->commit), &blame->options.oldest_commit); |
