зеркало из https://github.com/microsoft/git.git
git-p4: Fix an obvious typo
The regexp "$," can't match anything. Clearly not intended.
This was introduced in ce6f33c8
which is quite a while ago.
Signed-off-by: Tommy Thorn <tommy-git@thorn.ws>
Acked-by: Simon Hausmann <simon@lst.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Родитель
94bc914c5e
Коммит
147402a2e9
|
@ -1646,7 +1646,7 @@ class P4Clone(P4Sync):
|
|||
depotPath = args[0]
|
||||
depotDir = re.sub("(@[^@]*)$", "", depotPath)
|
||||
depotDir = re.sub("(#[^#]*)$", "", depotDir)
|
||||
depotDir = re.sub(r"\.\.\.$,", "", depotDir)
|
||||
depotDir = re.sub(r"\.\.\.$", "", depotDir)
|
||||
depotDir = re.sub(r"/$", "", depotDir)
|
||||
return os.path.split(depotDir)[1]
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче