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 05f43df commit 678c8dcCopy full SHA for 678c8dc
lib/git-subrepo
@@ -764,8 +764,8 @@ subrepo:branch() {
764
[[ $prev_commit ]] && first_parent=(-p "$prev_commit")
765
second_parent=()
766
if [[ -z $first_gitrepo_commit ]]; then
767
- first_gitrepo_commit=$gitrepo_commit
768
- second_parent=(-p "$gitrepo_commit")
+ first_gitrepo_commit=$subrepo_commit
+ second_parent=(-p "$subrepo_commit")
769
fi
770
771
if [[ $join_method != rebase ]]; then
0 commit comments