Merge branch 'tb/void-check-attr'
Code clean-up. * tb/void-check-attr: Make git_check_attr() a void function
This commit is contained in:
@ -970,8 +970,7 @@ static int no_try_delta(const char *path)
|
||||
|
||||
if (!check)
|
||||
check = attr_check_initl("delta", NULL);
|
||||
if (git_check_attr(&the_index, path, check))
|
||||
return 0;
|
||||
git_check_attr(&the_index, path, check);
|
||||
if (ATTR_FALSE(check->items[0].value))
|
||||
return 1;
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user