diff options
author | Dan McGee <dan@archlinux.org> | 2008-01-14 07:59:11 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-01-22 02:44:10 +0100 |
commit | 9247ddbe8aaebf00bf9b93a753b73aa09b5de014 (patch) | |
tree | fa5c7bf537268b073ccd71024253728b7116d8f5 | |
parent | 36264a3ab9ec83ffe505dade32115a31e858122e (diff) | |
download | pacman-9247ddbe8aaebf00bf9b93a753b73aa09b5de014.tar.gz pacman-9247ddbe8aaebf00bf9b93a753b73aa09b5de014.tar.xz |
conflict.c: move debug message out of inner loop
We have a debug message in the target vs. target file conflict check, and
this is a bit rediculous when it comes to watching output from something
like smoke001.py. Instead, put the output outside this inner loop so we only
see it at most once per target, which is much more reasonable.
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r-- | lib/libalpm/conflict.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libalpm/conflict.c b/lib/libalpm/conflict.c index f666d595..37ced287 100644 --- a/lib/libalpm/conflict.c +++ b/lib/libalpm/conflict.c @@ -362,13 +362,13 @@ alpm_list_t *_alpm_db_find_fileconflicts(pmdb_t *db, pmtrans_t *trans, char *roo PROGRESS(trans, PM_TRANS_PROGRESS_CONFLICTS_START, "", (percent * 100), numtargs, current); /* CHECK 1: check every target against every target */ + _alpm_log(PM_LOG_DEBUG, "searching for file conflicts: %s\n", + alpm_pkg_get_name(p1)); for(j = i->next; j; j = j->next) { p2 = j->data; if(!p2) { continue; } - _alpm_log(PM_LOG_DEBUG, "searching for file conflicts: %s and %s\n", - alpm_pkg_get_name(p1), alpm_pkg_get_name(p2)); tmpfiles = chk_fileconflicts(alpm_pkg_get_files(p1), alpm_pkg_get_files(p2)); if(tmpfiles) { |