# [PATCH] git-p4: Fix indentation from tab to spaces

2 messages from 2008-02-04 to 2008-02-04. Participants: Toby Allsopp, Tommy Thorn.
Thread: https://gitlist.dev/t/11887

## Toby Allsopp, 2008-02-04 20:41

Subject: [PATCH] git-p4: Fix indentation from tab to spaces
Message-ID: <87fxw8mp2w.fsf@nav-akl-pcn-343.mitacad.com>
URL: https://gitlist.dev/e/87fxw8mp2w.fsf%40nav-akl-pcn-343.mitacad.com

```
Signed-off-by: Toby Allsopp <toby.allsopp@navman.co.nz>
---
 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 c17afae..781a0cb 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]
 
-- 
1.5.4.7.gd8534-dirty

```

## Tommy Thorn, 2008-02-04 22:18

Subject: Re: [PATCH] git-p4: Fix indentation from tab to spaces
Message-ID: <47A78F3B.5090002@thorn.ws>
URL: https://gitlist.dev/e/47A78F3B.5090002%40thorn.ws
In-Reply-To: <87fxw8mp2w.fsf@nav-akl-pcn-343.mitacad.com>

```
Toby Allsopp wrote:
> Signed-off-by: Toby Allsopp <toby.allsopp@navman.co.nz>
> ---
>  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 c17afae..781a0cb 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]
>  
>   
Acked-by: Tommy Thorn <tommy-git@thorn.ws>

I'm not sure that happend, but I did have some issues sending the patch 
that should be fixed now.

Nobody commented on the most important one - the fix for git-p4 memory 
appetite.

Tommy

```
