Skip to content

Commit 962612c

Browse files
committed
Find parent sha by parent field
align our approach with ingydotnet/git-subrepo#547
1 parent 0203df6 commit 962612c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commands/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ pub(super) fn find_new_parent_after_rebase(
622622
check_ref,
623623
"-1",
624624
"-G",
625-
"commit =",
625+
"parent =",
626626
"--format=%H",
627627
"--",
628628
&gitrepo_rel,

0 commit comments

Comments
 (0)