()
| 298 | } |
| 299 | |
| 300 | func hasCommits() bool { |
| 301 | commitCount := silentgit("rev-list", "--all", "--count") |
| 302 | return commitCount != "0" |
| 303 | } |
| 304 | |
| 305 | func currentCliName(argZero string) string { |
| 306 | return strings.TrimSuffix(filepath.Base(argZero), ".exe") |