Update CHANGELOG.md (#198)

This commit is contained in:
Jay Gabriels
2022-03-15 21:36:13 -07:00
committed by GitHub
parent 0fad064f3a
commit 8f562742b4
3 changed files with 6 additions and 1 deletions

View File

@@ -8,6 +8,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
- Dockerfile
- Ability to set GHORG_IGNORE_PATH; thanks @jeffreylo
- Ability to set configuration file as `ghorg.yaml` at root of repo; thanks @jeffreylo
- GHORG_QUIET mode; thanks @jeffreylo
### Changed
### Deprecated
### Removed

View File

@@ -129,6 +129,10 @@ func cloneFunc(cmd *cobra.Command, argz []string) {
os.Setenv("GHORG_SKIP_FORKS", "true")
}
if cmd.Flags().Changed("quiet") {
os.Setenv("GHORG_QUIET", "true")
}
if cmd.Flags().Changed("preserve-dir") {
os.Setenv("GHORG_PRESERVE_DIRECTORY_STRUCTURE", "true")
}

View File

@@ -11,6 +11,6 @@ var versionCmd = &cobra.Command{
Short: "Print the version number of Ghorg",
Long: `All software has versions. This is Ghorg's`,
Run: func(cmd *cobra.Command, args []string) {
fmt.Println("v1.7.13")
fmt.Println("v1.7.12")
},
}