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>
Tommy Thorn committed
Feb 2, 2008 at 00:11 UTC
147402a2e9e29efe3fe75b5409cc2dd88cef04c7
1 file changed
+1
-1
contrib/fast-import/git-p4
+1
-1
@@ -1646,7 +1646,7 @@ class P4Clone(P4Sync):
1646
depotPath = args[0]
1647
depotDir = re.sub("(@[^@]*)$", "", depotPath)
1648
depotDir = re.sub("(#[^#]*)$", "", depotDir)
1649
- depotDir = re.sub(r"\.\.\.$,", "", depotDir)
1649
+ depotDir = re.sub(r"\.\.\.$", "", depotDir)
1650
depotDir = re.sub(r"/$", "", depotDir)
1651
return os.path.split(depotDir)[1]
1652