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

Re: [PATCH] git-p4: support exclude in 'git p4 sync'

From
PWPete Wyckoff <pw@padd.com>
Date
Jan 18, 2015, 14:02 UTC
Message-ID
<20150118140255.GA18490@padd.com>
In-Reply-To
<1421528198-16749-1-git-send-email-luke@diamand.org>
luke@diamand.org wrote on Sat, 17 Jan 2015 20:56 +0000:
Show 19 quoted lines
> The git-p4 'clone' subcommand has long had the option to specify
> parts of the repo to be excluded, on the command line. But this has
> not been present in 'sync', which makes it less than useful: as
> soon as you do a sync, the excluded parts start being repopulated
> as those directories are changed.
> 
> (You can achieve the same effect by using a client specification to
> do the exclusion, but that's then an extra step).
> 
> The code for doing the exclusion is actually all present in the base
> 'P4Sync' class: this change turns that on by moving the definition
> of the command-line switch.
> 
> It also updates the documentation and adds a test-case.
> 
> Thanks,
> Luke
> 
> And yes, I'm back to using version control systems other than git :-(

So sorry. I on the other hand have been fortunate enough to switch to using only git.

Nevertheless, I read through the patch and it looks good and makes sense. You've got my ack on this for what it's worth. Hopefully someone else starts picking up the git-p4 maintenance work. Hint.

		-- Pete
Previous: Luke Diamand
Message 3 of 3 in “git-p4: support exclude in 'git p4 sync'”
  1. git-p4: support exclude in 'git p4 sync'Luke Diamand, Jan 17, 2015
  2. git-p4: support excluding paths on syncLuke Diamand, Jan 17, 2015
  3. Pete WyckoffJan 18, 2015

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.