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/conf.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/pacman/conf.h') diff --git a/src/pacman/conf.h b/src/pacman/conf.h index 396cde5a..9e14925a 100644 --- a/src/pacman/conf.h +++ b/src/pacman/conf.h @@ -93,6 +93,9 @@ typedef struct __config_t { /* our connection to libalpm */ alpm_handle_t *handle; + + alpm_list_t *explicit_adds; + alpm_list_t *explicit_removes; } config_t; /* Operations */ -- cgit v1.2.3-24-g4f1b