Print repo being search for replaces in debug output
Given the message is repeated for each repo, it is a good idea to print the repo name in the output. Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
b782388f16
commit
c9b31ad622
1 changed files with 2 additions and 1 deletions
|
@ -127,7 +127,8 @@ static alpm_list_t *check_replacers(alpm_handle_t *handle, alpm_pkg_t *lpkg,
|
||||||
alpm_list_t *replacers = NULL;
|
alpm_list_t *replacers = NULL;
|
||||||
alpm_list_t *k;
|
alpm_list_t *k;
|
||||||
_alpm_log(handle, ALPM_LOG_DEBUG,
|
_alpm_log(handle, ALPM_LOG_DEBUG,
|
||||||
"searching for replacements for %s\n", lpkg->name);
|
"searching for replacements for %s in %s\n",
|
||||||
|
lpkg->name, sdb->treename);
|
||||||
for(k = _alpm_db_get_pkgcache(sdb); k; k = k->next) {
|
for(k = _alpm_db_get_pkgcache(sdb); k; k = k->next) {
|
||||||
int found = 0;
|
int found = 0;
|
||||||
alpm_pkg_t *spkg = k->data;
|
alpm_pkg_t *spkg = k->data;
|
||||||
|
|
Loading…
Add table
Reference in a new issue