Skip to content

Commit

Permalink
Merge branch 'jk/still-interesting'
Browse files Browse the repository at this point in the history
Code clean-up.

* jk/still-interesting:
  revision.c: remove unneeded check for NULL
  • Loading branch information
Junio C Hamano committed Jul 17, 2015
2 parents 4d9f744 + ae40ebd commit fbdeabf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions revision.c
Original file line number Diff line number Diff line change
Expand Up @@ -361,8 +361,8 @@ static int everybody_uninteresting(struct commit_list *orig,
list = list->next;
if (commit->object.flags & UNINTERESTING)
continue;
if (interesting_cache)
*interesting_cache = commit;

*interesting_cache = commit;
return 0;
}
return 1;
Expand Down

0 comments on commit fbdeabf

Please sign in to comment.