Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add max-depth limit to GitHub subcommand #989

Closed
dwilliamsstc opened this issue Dec 27, 2022 · 2 comments
Closed

Add max-depth limit to GitHub subcommand #989

dwilliamsstc opened this issue Dec 27, 2022 · 2 comments

Comments

@dwilliamsstc
Copy link

Community Note

  • Please vote on this issue by adding a 馃憤 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

Ability to limit the depth of the commit history being scanned for GitHub users We need the ability to set a --max-depth= limit to GitHub sub command.

Problem to be Addressed

It is very noisy for large GitHub enterprises to detect new issues due to the inability to ignore historical commit history that one has already remediated. Results have to be saved into a spreadsheet or database and then diff'd to see what has changed.

Description of the Preferred Solution

The ability to set a --max-depth= limit to GitHub sub command.
This would be very beneficial when attempting to scan a GitHub enterprise repositories as a group.

Additional Context

References

  • #0000
@CameronLonsdale
Copy link

Yes please, would be great to specify --depth=1 which is passed to the git clone command. For the more continuous scans which don't need to go through the entire commit history, just the current files.

@hoernrob
Copy link

hoernrob commented Feb 8, 2024

would love to have this as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants