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

Re: [PATCH 2/3] git-p4: support exclude paths

From
Simon Hausmann <simon@lst.de>
Date
Feb 15, 2008, 22:56 UTC
Message-ID
<200802152356.34841.simon@lst.de>
In-Reply-To
<47B1C102.7020400@thorn.ws>
On Tuesday 12 February 2008 16:53:38 Tommy Thorn wrote:
Show 26 quoted lines
> On Sunday 03 February 2008 10:21:05 I wrote:
> > Teach git-p4 about the -/ option which adds depot paths to the exclude
> > list, used when cloning. The option is chosen such that the natural
> > Perforce syntax works, eg:
> >
> >   git p4 clone //branch/path/... -//branch/path/{large,old}/...
> >
> > Trailing ... on exclude paths are optional.
> >
> > This is a generalization of a change by Dmitry Kakurin (thanks).
> >
> > Signed-off-by: Tommy Thorn <tommy-git@thorn.ws>
>
> .. to which Simon replied:
> > Acked-By: Simon Hausmann <simon@lst.de>
> >
> > I like it, Perforce'ish syntax. (Not that I like p4 though ;)
>
> Alas, this change needs more work - the exclude paths needs to
> be maintained in the commit messages as otherwise we pull in new
> files in the excluded path. I haven't done this yet.
>
> However, the other patch (git-p4: no longer keep all file contents while
> cloning) is IMO critical. You simply cannot clone a non-trivial Perforce
> repository without it. Why is this being ignored? Are there no users of
> git-p4?
Sorry for the delay, my real life has kept be busy :)

I now looked at the patch and I'm all in favour of applying it. However it doesn't seem to apply against the current git-p4. Can you re-send the patch to me?

Thanks, Simon

P.S.: I have applied the other patch (exclude path support)
Previous: Tommy Thorn
Message 2 of 2 in “Re: [PATCH 2/3] git-p4: support exclude paths”
  1. Tommy ThornFeb 12, 2008
  2. Simon HausmannFeb 15, 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.