From 5cd27dc16d8b1ae256a97feb70c54490ca4f8d45 Mon Sep 17 00:00:00 2001 From: Erick Cafferata Date: Fri, 8 Feb 2019 17:21:07 -0500 Subject: add asp32 support for *log commands --- package.inc.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/package.inc.sh b/package.inc.sh index 2650301..dcdc331 100644 --- a/package.inc.sh +++ b/package.inc.sh @@ -95,7 +95,13 @@ package_log() { ;; esac - git log "${logargs[@]}" "$remote/packages/$pkgname" -- trunk/ + if ! (( OPT_UPSTREAM )); then + repo=$(package_get_repos_with_arch "$pkgname" packages32|awk '{print $1}') + [[ $repo ]] && git log "${logargs[@]}" "packages32/master" -- "$repo/$pkgname" \ + || log_info 'There is no Arch32 patch for %s' "$pkgname" + else + git log "${logargs[@]}" "$remote/packages/$pkgname" -- trunk/ + fi } package_show_file() { -- cgit v1.2.3-70-g09d2