We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dea79fc commit 337e017Copy full SHA for 337e017
bin/notes-github-pr.rb
@@ -92,7 +92,7 @@ def git(*cmd, repo_path: nil)
92
93
Dir.mktmpdir do |workdir|
94
depth = Git.rev_list("#{oldrev}..#{newrev}", repo_path: repo_path).size + 1
95
- system('git', 'clone', "--depth=#{depth}", "--branch=#{branch}", "file:///#{repo_path}", workdir)
+ system('git', 'clone', "--depth=#{depth}", "--branch=#{branch}", "file://#{repo_path}", workdir)
96
Dir.chdir(workdir)
97
system('git', 'fetch', 'origin', 'refs/notes/commits:refs/notes/commits')
98
0 commit comments