Signed-off-by: Li Yuanchao lyc163mail@163.com --- lib/git_mirror.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/git_mirror.rb b/lib/git_mirror.rb index bd55b33..b153978 100644 --- a/lib/git_mirror.rb +++ b/lib/git_mirror.rb @@ -374,6 +374,6 @@ class MirrorMain submodule = %x(git -C #{mirror_dir} show HEAD:.gitmodules 2>/dev/null) return if submodule.empty?
- handle_submodule(submodule, File.basename(git_repo)) + handle_submodule(submodule) end end