From 86ce25cd834cbf07c6c14b3f01575479c3beacef Mon Sep 17 00:00:00 2001 From: Karoly Gossler Date: Thu, 29 Feb 2024 10:45:08 +0100 Subject: [PATCH] add fetch --- .ci/github/files_between_commits.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.ci/github/files_between_commits.sh b/.ci/github/files_between_commits.sh index c57be678..a0496dbe 100755 --- a/.ci/github/files_between_commits.sh +++ b/.ci/github/files_between_commits.sh @@ -1,8 +1,10 @@ #!/bin/sh -branch=${1#refs/} +branch=$1 hash=$2 +git fetch origin + # root folder of added files git diff --color --name-only --diff-filter=A ${branch}..${hash} | cut -d/ -f1 || exit 1