Преглед на файлове

更新 'backup/preset/app/git.py'

junhuanchen преди 1 година
родител
ревизия
c7876a711a
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      backup/preset/app/git.py

+ 1 - 1
backup/preset/app/git.py

@@ -93,7 +93,7 @@ def recovery(localRep):
     porcelain.reset(r, 'hard')
 
 
-def clone(source, target=None, depth: Optional[int] = None):
+def clone(source, target=None, depth: int = None):
     porcelain.clone(source, target, depth=depth)