From: xf0r3m Date: Fri, 18 Aug 2023 05:34:03 +0000 (+0200) Subject: Zmiana sposobu wyświetlania informacji o zmianach w projekcie, zamiast ostatniej... X-Git-Url: https://gitweb.morketsmerke.org/?a=commitdiff_plain;h=dd880448d7a2f31aba1d553cf9f263d456747b9a;p=immudex-testing.git Zmiana sposobu wyświetlania informacji o zmianach w projekcie, zamiast ostatniej zmiany wyświetlany jest zakres od obecnie używanej wersji najnowszych zmian --- 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;