Merge branch 'jg/status-config'
[gitweb.git] / decorate.c
index 2f8a63e38881587fe29fcb72a5272ef54b9efa6e..7cb5d29a89a43ecf7e433db513b66184df3accb8 100644 (file)
@@ -49,7 +49,7 @@ static void grow_decoration(struct decoration *n)
                const struct object *base = old_hash[i].base;
                void *decoration = old_hash[i].decoration;
 
-               if (!base)
+               if (!decoration)
                        continue;
                insert_decoration(n, base, decoration);
        }