Add preserve scm hostname flag (#458)

This commit is contained in:
gabrie30
2024-09-21 20:06:27 -07:00
committed by GitHub
parent ca104ddd8b
commit 1ca84c6c42
19 changed files with 609 additions and 32 deletions

View File

@@ -33,6 +33,8 @@ func NewGit() GitClient {
func printDebugCmd(cmd *exec.Cmd, repo scm.Repo) error {
fmt.Println("------------- GIT DEBUG -------------")
fmt.Printf("GHORG_OUTPUT_DIR=%v\n", os.Getenv("GHORG_OUTPUT_DIR"))
fmt.Printf("GHORG_ABSOLUTE_PATH_TO_CLONE_TO=%v\n", os.Getenv("GHORG_ABSOLUTE_PATH_TO_CLONE_TO"))
fmt.Print("Repo Data: ")
spew.Dump(repo)
fmt.Print("Command Ran: ")