Skip to content

Commit ce5d467

Browse files
committed
Use the correct flag for the rebase command.
This fixes a bug where the wrong variable was being read to get the value of the '--archive' flag passed to the 'rebase' subcommand.
1 parent 599e028 commit ce5d467

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commands/rebase.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ func rebaseReview(repo repository.Repo, args []string) error {
7575
if err != nil {
7676
return err
7777
}
78-
return r.Rebase(*submitArchive)
78+
return r.Rebase(*rebaseArchive)
7979
}
8080

8181
// rebaseCmd defines the "rebase" subcommand.

0 commit comments

Comments
 (0)