summaryrefslogtreecommitdiffstats
path: root/pkg/commands
diff options
context:
space:
mode:
authorcaojoshua <cao.joshua@yahoo.com>2021-05-31 23:23:33 -0700
committerJesse Duffield <jessedduffield@gmail.com>2021-06-05 10:58:09 +1000
commite7c657fba0dc27b188a9c4b91c35f3e3805d86cc (patch)
treeba396c7df7a12f37238fac6f403d9a9b51f0d3c4 /pkg/commands
parent60468d2e174656675b8058df519b6547bc7ca62e (diff)
Docs for EditCommand.
Diffstat (limited to 'pkg/commands')
-rw-r--r--pkg/commands/files.go2
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