We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73a0129 commit 3e3a2ceCopy full SHA for 3e3a2ce
lib/git-subrepo
@@ -840,7 +840,7 @@ subrepo:branch() {
840
local filter=$branch
841
[[ $first_gitrepo_commit ]] && filter=$first_gitrepo_commit..$branch
842
FAIL=false RUN git filter-branch -f --prune-empty --tree-filter \
843
- "rm -f .gitrepo" "$filter"
+ "rm -f .gitrepo" -- "$filter" --first-parent
844
845
git:create-worktree "$branch"
846
0 commit comments