git_connect: clarify conn->use_shell flag
[gitweb.git] / revision.c
index 3ff8723da463b87268146ce3c7680d691f5bba4f..ab97ffd4590cc41743d4bb828a9c5bdb1a00cce9 100644 (file)
@@ -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;