Commit a7d28f40 by Ben Straub

bool

parent 7f6db0ad
...@@ -42,11 +42,11 @@ typedef struct git_blame__entry { ...@@ -42,11 +42,11 @@ typedef struct git_blame__entry {
/* true if the suspect is truly guilty; false while we have not /* true if the suspect is truly guilty; false while we have not
* checked if the group came from one of its parents. * 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 /* 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 /* the line number of the first line of this group in the
* suspect's file; internally all line numbers are 0 based. * suspect's file; internally all line numbers are 0 based.
......
...@@ -602,7 +602,7 @@ void git_blame__like_git(git_blame *blame, uint32_t opt) ...@@ -602,7 +602,7 @@ void git_blame__like_git(git_blame *blame, uint32_t opt)
/* Take responsibility for the remaining entries */ /* Take responsibility for the remaining entries */
for (ent = blame->ent; ent; ent = ent->next) { for (ent = blame->ent; ent; ent = ent->next) {
if (same_suspect(ent->suspect, suspect)) { if (same_suspect(ent->suspect, suspect)) {
ent->guilty = 1; ent->guilty = true;
ent->is_boundary = !git_oid_cmp( ent->is_boundary = !git_oid_cmp(
git_commit_id(suspect->commit), git_commit_id(suspect->commit),
&blame->options.oldest_commit); &blame->options.oldest_commit);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment