]> gitweb.morketsmerke.org Git - immudex-testing.git/commitdiff
Zmiana sposobu wyƛwietlania informacji o zmianach w projekcie, zamiast ostatniej...
authorxf0r3m <jakubstasinski@protonmail.com>
Fri, 18 Aug 2023 05:34:03 +0000 (07:34 +0200)
committerxf0r3m <jakubstasinski@protonmail.com>
Fri, 18 Aug 2023 05:34:03 +0000 (07:34 +0200)
tools/library.sh

index 3c80e1851fe8331bc76d4805e58a17c42b694f00..e78874c601b784f1611bbd4e7e961d8633ec63c7 100755 (executable)
@@ -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;