diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-07-17 10:44:56 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-07-17 10:44:56 -0700 |
commit | fbdeabf1f0992e41237caee8fc357849e0038a82 (patch) | |
tree | a074591c4eae7925568ad5d65926887b6b7a0752 /revision.c | |
parent | 4d9f744e34e079310f4e9bb64d13c423906ee62e (diff) | |
parent | ae40ebda9bf68b0be8deafd93b7982d443f2b1b2 (diff) | |
download | git-fbdeabf1f0992e41237caee8fc357849e0038a82.tar.gz |
Merge branch 'jk/still-interesting'
Code clean-up.
* jk/still-interesting:
revision.c: remove unneeded check for NULL
Diffstat (limited to 'revision.c')
-rw-r--r-- | revision.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/revision.c b/revision.c index 3ff8723da4..ab97ffd459 100644 --- a/revision.c +++ b/revision.c @@ -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; |