Skip to content

Commit 15dec85

Browse files
committed
Hide git-dir flag
This exists only for being able to test the github action
1 parent 72b75e1 commit 15dec85

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cmd/gradle-cache/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ func (f *backendFlags) validate() error {
6565
type RestoreCmd struct {
6666
backendFlags
6767
CacheKey string `help:"Bundle identifier, e.g. 'my-project:assembleRelease'." required:""`
68-
GitDir string `help:"Path to the git repository used for history walking." default:"." type:"path"`
68+
GitDir string `help:"Path to the git repository used for history walking." default:"." type:"path" hidden:""`
6969
Ref string `help:"Git ref used to search for a base bundle. When --branch is set, history walks from the merge-base of HEAD and this ref." default:"HEAD"`
7070
Commit string `help:"Specific commit SHA to try directly, skipping history walk."`
7171
MaxBlocks int `help:"Number of distinct-author commit blocks to search." default:"20"`
@@ -128,7 +128,7 @@ type SaveCmd struct {
128128
backendFlags
129129
CacheKey string `help:"Bundle identifier, e.g. 'my-project:assembleRelease'." required:""`
130130
Commit string `help:"Commit SHA to tag this bundle with. Defaults to HEAD of --git-dir."`
131-
GitDir string `help:"Path to the git repository." default:"." type:"path"`
131+
GitDir string `help:"Path to the git repository." default:"." type:"path" hidden:""`
132132
GradleUserHome string `help:"Path to GRADLE_USER_HOME." env:"GRADLE_USER_HOME" type:"path"`
133133
IncludedBuilds []string `help:"Included build directories whose build/ output to archive. May be repeated." name:"included-build" type:"path"`
134134
}

0 commit comments

Comments
 (0)