[pacman-dev] [PATCH] Print package name before changelog entry with -Qc

Simon Gomizelj simongmzlj at gmail.com
Tue Dec 11 06:34:35 EST 2012


Fixes FS#32362

Signed-off-by: Simon Gomizelj <simongmzlj at gmail.com>
---
 src/pacman/package.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/pacman/package.c b/src/pacman/package.c
index 77d58e1..f3e7e96 100644
--- a/src/pacman/package.c
+++ b/src/pacman/package.c
@@ -315,6 +315,7 @@ void dump_pkg_changelog(alpm_pkg_t *pkg)
 				alpm_pkg_get_name(pkg));
 		return;
 	} else {
+		fprintf(stdout, _("Changelog for %s:\n"), alpm_pkg_get_name(pkg));
 		/* allocate a buffer to get the changelog back in chunks */
 		char buf[CLBUF_SIZE];
 		size_t ret = 0;
-- 
1.8.0.1



More information about the pacman-dev mailing list