From dbf9174f96cc49ab717f4805fcbecfadbd89f2bf Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Wed, 18 Dec 2024 04:45:34 -0500 Subject: [PATCH] Reorganize the way notes are shown after updates so that they hopefully appear oldest to newest. --- linux-game-manager.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/linux-game-manager.sh b/linux-game-manager.sh index 9518ab7..2eacdf2 100755 --- a/linux-game-manager.sh +++ b/linux-game-manager.sh @@ -61,10 +61,10 @@ check_update() { dialog --backtitle "Linux Game manager" \ --yesno "Updates are available. Would you like to update now?" -1 -1 --stdout || return # Store the current commit before pulling - local before_pull=$(git rev-parse HEAD) + local beforePull=$(git rev-parse HEAD) git pull # Show changes between the stored commit and current HEAD - git log "$before_pull..HEAD" --pretty=format:'%an: %s' + git log "$beforePull..HEAD" --pretty=format:'%an: %s' | tac exit $? }