ggshield icon indicating copy to clipboard operation
ggshield copied to clipboard

feat: add --no-mirror option

Open guedou opened this issue 1 year ago • 0 comments

Context

Cloning a repository with git clone --mirror may retrieve more git objects, and lead to more secrets being detected.

What has been done

By default ggshield now used --mirror. A new command line option could be used to disable this feature.

Validation

Clone https://github.com/nightwatchcybersecurity/gb_testrepo_delete?tab=readme-ov-filewith and without the new option.

guedou avatar Oct 14 '24 11:10 guedou