mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-12-01 21:44:23 +01:00
1 parent
8eb28cbb4c
commit
fad98cbde2
216 files changed
+27523
-3828
No files matched your search
+2
-2
@@ -619,7 +619,7 @@ func getHaves(
|
||||
return result, nil
|
||||
}
|
||||
|
||||
const refspecTag = "+refs/tags/*:refs/tags/*"
|
||||
const refspecAllTags = "+refs/tags/*:refs/tags/*"
|
||||
|
||||
func calculateRefs(
|
||||
spec []config.RefSpec,
|
||||
@@ -627,7 +627,7 @@ func calculateRefs(
|
||||
tagMode TagMode,
|
||||
) (memory.ReferenceStorage, error) {
|
||||
if tagMode == AllTags {
|
||||
spec = append(spec, refspecTag)
|
||||
spec = append(spec, refspecAllTags)
|
||||
}
|
||||
|
||||
refs := make(memory.ReferenceStorage)
|
||||
|
||||
Reference in new issue
Block a user