Change 11715

matt_attaway (Matt Attaway)
Matt Attaway committed this change into //guest/matt_attaway/fauxgit
Request Review
Download .zip
Enable cloning from a Perforce server from Xcode

   By putting in a URI of the form:

   p4://[username@]<hostname>[:port]/<depot path for a directory with no '...'>

   for example:

   p4://[email protected]/guest/matt_attaway/fauxgit

   This change cleans up the URI syntax and fakes one branch result from 'ls-remote'. It also creates the trappings of a fake Git repo so that Xcode will
   enable its source control menu items.

   Status shows up correctly so far and adding new files seems to work. I suspect that deleting and renaming files works as well, but I haven't test it.
  • Files 1
  • Comments 0
1 edited 0 added 0 deleted
git.rb#5
Loading...
Tip: Use n and p to cycle through the changes.