aboutsummaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
authorLuke Adams <lukeclydeadams@gmail.com>2018-10-04 10:29:19 -0600
committerLuke Adams <lukeclydeadams@gmail.com>2018-10-04 10:29:19 -0600
commitbc8e6754a72157a944d304904a9a9dcf45e109ce (patch)
treee67a0c1e889fd2d26b54b83e05a11a24f88b4429 /commands
parentf464363213ce7315d1f3ea10138450a4ca7432d3 (diff)
downloadgit-bug-bc8e6754a72157a944d304904a9a9dcf45e109ce.tar.gz
Make addCommentWithEditor accept a preMessage
Diffstat (limited to 'commands')
-rw-r--r--commands/comment_add.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/comment_add.go b/commands/comment_add.go
index 0a83eb65..8736f9c2 100644
--- a/commands/comment_add.go
+++ b/commands/comment_add.go
@@ -29,7 +29,7 @@ func runCommentAdd(cmd *cobra.Command, args []string) error {
}
if commentAddMessage == "" {
- commentAddMessage, err = input.BugCommentEditorInput(backend)
+ commentAddMessage, err = input.BugCommentEditorInput(backend, "")
if err == input.ErrEmptyMessage {
fmt.Println("Empty message, aborting.")
return nil