diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-07-17 19:44:56 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-07-17 19:44:56 +0200 |
commit | fbdeabf1f0992e41237caee8fc357849e0038a82 (patch) | |
tree | a074591c4eae7925568ad5d65926887b6b7a0752 | |
parent | Merge branch 'es/worktree-add' (diff) | |
parent | revision.c: remove unneeded check for NULL (diff) | |
download | git-fbdeabf1f0992e41237caee8fc357849e0038a82.tar.xz git-fbdeabf1f0992e41237caee8fc357849e0038a82.zip |
Merge branch 'jk/still-interesting'
Code clean-up.
* jk/still-interesting:
revision.c: remove unneeded check for NULL
-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; |