File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 1+ v5.10.1
2+ - Use 'git clone --no-local' when creating a fork (!176)
3+
14v5.10.0
25 - Add a 'fork-repository' command that works with hashed storage (!174)
36
Original file line number Diff line number Diff line change 1- 5.10.0
1+ 5.10.1
Original file line number Diff line number Diff line change @@ -385,7 +385,7 @@ def fork_repository
385385 FileUtils . mkdir_p ( File . dirname ( to_path ) , mode : 0770 )
386386
387387 $logger. info "Forking repository from <#{ from_path } > to <#{ to_path } >."
388- cmd = %W( git clone --bare -- #{ from_path } #{ to_path } )
388+ cmd = %W( git clone --bare --no-local -- #{ from_path } #{ to_path } )
389389 system ( *cmd ) && self . class . create_hooks ( to_path )
390390 end
391391
@@ -422,7 +422,7 @@ def fork_project
422422 end
423423
424424 $logger. info "Forking project from <#{ full_path } > to <#{ full_destination_path } >."
425- cmd = %W( git clone --bare -- #{ full_path } #{ full_destination_path } )
425+ cmd = %W( git clone --bare --no-local -- #{ full_path } #{ full_destination_path } )
426426 system ( *cmd ) && self . class . create_hooks ( full_destination_path )
427427 end
428428
You can’t perform that action at this time.
0 commit comments