summaryrefslogtreecommitdiffstats
path: root/pkg/commands/git_commands/patch.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2023-07-22 14:05:42 +1000
committerJesse Duffield <jessedduffield@gmail.com>2023-07-22 14:36:35 +1000
commit7807b403229cb57f261d97d15a76d0b35b15e19a (patch)
tree6e243e0a712a644e579e44fe055cd1054bf51523 /pkg/commands/git_commands/patch.go
parentb284970bac62364c2cccf6a2408d4584ae93056d (diff)
Better tag creation UX
Previously we used a single-line prompt for a tag annotation. Now we're using the commit message prompt. I've had to update other uses of that prompt to allow the summary and description labels to be passed in
Diffstat (limited to 'pkg/commands/git_commands/patch.go')
-rw-r--r--pkg/commands/git_commands/patch.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/commands/git_commands/patch.go b/pkg/commands/git_commands/patch.go
index 3159ff31d..56747a315 100644
--- a/pkg/commands/git_commands/patch.go
+++ b/pkg/commands/git_commands/patch.go
@@ -302,7 +302,7 @@ func (self *PatchCommands) PullPatchIntoNewCommit(commits []*models.Commit, comm
head_message, _ := self.commit.GetHeadCommitMessage()
new_message := fmt.Sprintf("Split from \"%s\"", head_message)
- if err := self.commit.CommitCmdObj(new_message).Run(); err != nil {
+ if err := self.commit.CommitCmdObj(new_message, "").Run(); err != nil {
return err
}