Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
Print orphaned packages in pkg version when comparing with the INDEX file.
KAMADA Ken'ichi committed 11 years ago
commit ab83b8fe1f0aaa88116638404257b98c542152d9
parent bfbb3278e7ad5c93ff7ff7400f78414334784b9d
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: