Quote args

pull/977/head
Daniel Wagner-Hall 9 years ago
parent 30232f20aa
commit 0e8f1b5475

@ -94,7 +94,7 @@ func runGitCommand(path string, args []string) error {
cmd.Dir = path cmd.Dir = path
err := cmd.Run() err := cmd.Run()
if err != nil { if err != nil {
return fmt.Errorf("error running %s: %v", strings.Join(cmd.Args, " "), err) return fmt.Errorf("error running %q: %v", strings.Join(cmd.Args, " "), err)
} }
return nil return nil
} }

Loading…
Cancel
Save