index : asp32 | |
Archlinux32 fork of asp - obsolete | gitolite user |
summaryrefslogtreecommitdiff |
author | Erick Cafferata <erick@cafferata.me> | 2019-02-08 17:21:07 -0500 |
---|---|---|
committer | Erick Cafferata <erick@cafferata.me> | 2019-02-08 17:21:07 -0500 |
commit | 5cd27dc16d8b1ae256a97feb70c54490ca4f8d45 (patch) | |
tree | 28b7ee1dd8d2d116831a16fcc9b6ad9d17b96f3c | |
parent | ae7317b856777e455984d675453d4884d9a59d39 (diff) |
-rw-r--r-- | package.inc.sh | 8 |
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() { |