Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Print orphaned packages in pkg version when comparing with the INDEX file.
KAMADA Ken'ichi committed 11 years ago
commit ab83b8fe1f0aaa88116638404257b98c542152d9
parent bfbb327
1 file changed +2 -3
modified src/version.c
@@ -455,9 +455,8 @@ do_source_index(unsigned int opt, char limchar, char *pattern, match_t match,
			continue;
		
		HASH_FIND_STR(indexhead, origin, entry);
-
		if (entry != NULL)
-
			print_version(pkg, "index", entry->version,
-
			    limchar, opt);
+
		print_version(pkg, "index",
+
		    entry != NULL ? entry->version : NULL, limchar, opt);
	}

cleanup: