Merge pull request #5719 from guerinoni/fix-quote-path
Quote path of repo in order to have a valid copy paste command
This commit is contained in:
commit
76a21a4792
1 changed files with 1 additions and 1 deletions
|
|
@ -443,7 +443,7 @@ func createFromLocal(opts *CreateOptions) error {
|
|||
if repoPath == "." {
|
||||
return fmt.Errorf("current directory is not a git repository. Run `git init` to initalize it")
|
||||
}
|
||||
return fmt.Errorf("%s is not a git repository. Run `git -C %s init` to initialize it", absPath, repoPath)
|
||||
return fmt.Errorf("%s is not a git repository. Run `git -C \"%s\" init` to initialize it", absPath, repoPath)
|
||||
}
|
||||
|
||||
committed, err := hasCommits(repoPath)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue