threads / patch / 11887

patchgit-p4: Fix indentation from tab to spaces

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

## tl;dr

2 messages between Feb 4, 2008 and Feb 4, 2008. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

Toby Allsopp· Feb 4, 2008, 20:41 UTC · lore
Signed-off-by: Toby Allsopp <toby.allsopp@navman.co.nz>
---
 contrib/fast-import/git-p4 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Show changes to contrib/fast-import/git-p4 +1 −1
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· Feb 4, 2008, 22:18 UTC · re: Toby Allsopp · lore

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

Toby Allsopp wrote:
Show 19 quoted lines
> 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

← back to recent threads