diff options
author | caojoshua <cao.joshua@yahoo.com> | 2021-05-31 23:23:33 -0700 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2021-06-05 10:58:09 +1000 |
commit | e7c657fba0dc27b188a9c4b91c35f3e3805d86cc (patch) | |
tree | ba396c7df7a12f37238fac6f403d9a9b51f0d3c4 /pkg/commands/files.go | |
parent | 60468d2e174656675b8058df519b6547bc7ca62e (diff) |
Docs for EditCommand.
Diffstat (limited to 'pkg/commands/files.go')
-rw-r--r-- | pkg/commands/files.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/commands/files.go b/pkg/commands/files.go index 8c86cfcf7..9e077a462 100644 --- a/pkg/commands/files.go +++ b/pkg/commands/files.go @@ -339,7 +339,7 @@ func (c *GitCommand) EditFileCmdStr(filename string) (string, error) { } } if editor == "" { - return "", errors.New("No editor defined in $GIT_EDITOR, $VISUAL, $EDITOR, or git config") + return "", errors.New("No editor defined in config file, $GIT_EDITOR, $VISUAL, $EDITOR, or git config") } return fmt.Sprintf("%s %s", editor, c.OSCommand.Quote(filename)), nil |