git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] git-p4: Fix an obvious typo
@ 2008-02-03  9:21 Tommy Thorn
  2008-02-03  9:21 ` [PATCH 2/3] git-p4: support exclude paths Tommy Thorn
  0 siblings, 1 reply; 7+ messages in thread
From: Tommy Thorn @ 2008-02-03  9:21 UTC (permalink / raw)
  To: git; +Cc: Tommy Thorn

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>
---
 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 c80a6da..553e237 100755
--- a/contrib/fast-import/git-p4
+++ b/contrib/fast-import/git-p4
@@ -1670,7 +1670,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]
 
-- 
1.5.4.rc5.17.g22b645

^ permalink raw reply related	[flat|nested] 7+ messages in thread
[parent not found: <48092.216.228.112.21.1199496008.squirrel@numba-tu.com>]

end of thread, other threads:[~2008-02-15 22:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-03  9:21 [PATCH 1/3] git-p4: Fix an obvious typo Tommy Thorn
2008-02-03  9:21 ` [PATCH 2/3] git-p4: support exclude paths Tommy Thorn
2008-02-03  9:21   ` [PATCH 3/3] git-p4: no longer keep all file contents while cloning Tommy Thorn
2008-02-03 18:41   ` [PATCH 2/3] git-p4: support exclude paths Simon Hausmann
2008-02-03 18:55     ` Tommy Thorn
     [not found] <48092.216.228.112.21.1199496008.squirrel@numba-tu.com>
2008-02-12 15:53 ` Tommy Thorn
2008-02-15 22:56   ` Simon Hausmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).