From 7edeb276b63efeea7e8f266dfee792e2709ba412 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Fri, 29 Jul 2011 15:35:59 -0500 Subject: Keep track of explicitly added and removed packages This allows us to sort the output list by showing all pulled dependencies first, followed by the explicitly specified targets. Signed-off-by: Dan McGee --- src/pacman/sync.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/pacman/sync.c') diff --git a/src/pacman/sync.c b/src/pacman/sync.c index 20a83b23..48ae30cf 100644 --- a/src/pacman/sync.c +++ b/src/pacman/sync.c @@ -612,6 +612,7 @@ static int process_pkg(alpm_pkg_t *pkg) return 1; } } + config->explicit_adds = alpm_list_add(config->explicit_adds, pkg); return 0; } -- cgit v1.2.3-54-g00ecf