Skip to content

Commit

Permalink
When av commit amend, don't need to fetch/push
Browse files Browse the repository at this point in the history
ref: #224
  • Loading branch information
Konboi committed Mar 27, 2024
1 parent 0cfa746 commit 8609635
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/av/commit_amend.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ var commitAmendCmd = &cobra.Command{

branchesToSync := meta.SubsequentBranches(tx, currentBranchName)

// issue #224:
// Even if it's not configured, there's no need to fetch/push
state.Config.NoFetch = true
state.Config.NoPush = true
err = actions.SyncStack(ctx, repo, client, tx, branchesToSync, state)
if err != nil {
return err
Expand Down

0 comments on commit 8609635

Please sign in to comment.