From dd880448d7a2f31aba1d553cf9f263d456747b9a Mon Sep 17 00:00:00 2001 From: xf0r3m Date: Fri, 18 Aug 2023 07:34:03 +0200 Subject: [PATCH] =?utf8?q?Zmiana=20sposobu=20wy=C5=9Bwietlania=20informacj?= =?utf8?q?i=20o=20zmianach=20w=20projekcie,=20zamiast=20ostatniej=20zmiany?= =?utf8?q?=20wy=C5=9Bwietlany=20jest=20zakres=20od=20obecnie=20u=C5=BCywan?= =?utf8?q?ej=20wersji=20najnowszych=20zmian?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- tools/library.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/library.sh b/tools/library.sh index 3c80e18..e78874c 100755 --- a/tools/library.sh +++ b/tools/library.sh @@ -24,11 +24,11 @@ function check_distro_commit() { if [ -d /tmp/immudex-testing ]; then $(cd /tmp/immudex-testing && git pull -q); else - git clone -q --depth=1 https://git.morketsmerke.org/git/immudex-testing /tmp/immudex-testing; + git clone -q https://git.morketsmerke.org/git/immudex-testing /tmp/immudex-testing; fi latestVersion=$(cd /tmp/immudex-testing && git log --pretty=oneline | cut -d " " -f 1); if [ "$1" ] && [ "$1" == "--print" ]; then - echo "$(cd /tmp/immudex-testing && git log $latestVersion)"; + echo "$(cd /tmp/immudex-testing && git log ${localVersion}..${latestVersion})"; fi if [ "$localVersion" = "$latestVersion" ]; then return 0; -- 2.39.5