()
| 20 | var gitLog = logger.New("cli:git") |
| 21 | |
| 22 | func isGitRepo() bool { |
| 23 | _, err := gitutil.FindGitRoot() |
| 24 | return err == nil |
| 25 | } |
| 26 | |
| 27 | // findGitRootForPath finds the root directory of the git repository containing the specified path |
| 28 | func findGitRootForPath(path string) (string, error) { |