diff options
author | Tommy Thorn <tt1729@yahoo.com> | 2008-02-02 11:11:44 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-02-04 00:00:15 +0300 |
commit | 147402a2e9e29efe3fe75b5409cc2dd88cef04c7 (patch) | |
tree | c76e9b18e7db0a021acda71ec921a670caf1076e | |
parent | 94bc914c5e1e46160f79e743ec369e483bf9f5cd (diff) |
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>
-rwxr-xr-x | contrib/fast-import/git-p4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/fast-import/git-p4 b/contrib/fast-import/git-p4 index e5fe5f6d3d..c17afae94a 100755 --- a/contrib/fast-import/git-p4 +++ b/contrib/fast-import/git-p4 @@ -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] |