From 3e3a2ce10a37733cc9b43216cc8678e894cfaea5 Mon Sep 17 00:00:00 2001 From: Edvinas Sabaliauskas Date: Mon, 25 Mar 2024 14:55:53 +0200 Subject: [PATCH] fixes issue #613 (support for GPG signed commits on upstream repo) --- lib/git-subrepo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/git-subrepo b/lib/git-subrepo index a6d5d96a..e13eca08 100755 --- a/lib/git-subrepo +++ b/lib/git-subrepo @@ -840,7 +840,7 @@ subrepo:branch() { local filter=$branch [[ $first_gitrepo_commit ]] && filter=$first_gitrepo_commit..$branch FAIL=false RUN git filter-branch -f --prune-empty --tree-filter \ - "rm -f .gitrepo" "$filter" + "rm -f .gitrepo" -- "$filter" --first-parent git:create-worktree "$branch"