Skip to content

Commit

Permalink
Try shallow clone (#161)
Browse files Browse the repository at this point in the history
Co-authored-by: arkadiyt <>
  • Loading branch information
arkadiyt authored Apr 22, 2024
1 parent 859732f commit 731be08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bounty-targets/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def run!
Dir.mktmpdir do |tmpdir|
Dir.chdir(tmpdir) do
# Clone + setup
`GIT_SSH_COMMAND=#{git_ssh_cmd} git clone #{ENV.fetch('GIT_HOST')} .`
`GIT_SSH_COMMAND=#{git_ssh_cmd} git clone #{ENV.fetch('GIT_HOST')} --depth 1 .`
`git config user.name 'bounty-targets'`
`git config user.email '<>'`

Expand Down

0 comments on commit 731be08

Please sign in to comment.