Show the last 5 commits when working with a git repo

For easier debugging.
This commit is contained in:
Frantisek Sumsal 2023-12-04 21:50:22 +01:00
commit b4df72951d

View file

@ -27,7 +27,7 @@ if [[ -n "${PACKIT_TARGET_URL:-}" ]]; then
git fetch pr "${PACKIT_SOURCE_BRANCH:?}"
git merge "pr/$PACKIT_SOURCE_BRANCH"
fi
git log -1
git log --oneline -5
else
# If we're running outside of Packit, download SRPM for the currently installed build
if ! dnf download --source "$(rpm -q systemd)"; then