diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2023-07-22 14:05:42 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2023-07-22 14:36:35 +1000 |
commit | 7807b403229cb57f261d97d15a76d0b35b15e19a (patch) | |
tree | 6e243e0a712a644e579e44fe055cd1054bf51523 /pkg/commands/git_commands/patch.go | |
parent | b284970bac62364c2cccf6a2408d4584ae93056d (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.go | 2 |
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 } |