git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
TTTommy Thorn <tommy-git@thorn.ws>
Date
Feb 4, 2008, 22:18 UTC
Message-ID
<47A78F3B.5090002@thorn.ws>
In-Reply-To
<87fxw8mp2w.fsf@nav-akl-pcn-343.mitacad.com>
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
Previous: Toby Allsopp
Message 2 of 2 in “git-p4: Fix indentation from tab to spaces”
  1. git-p4: Fix indentation from tab to spacesToby Allsopp, Feb 4, 2008
  2. Tommy ThornFeb 4, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.