#!/usr/bin/env ruby f = File.open('/Users/matt/gitlog.txt', 'a') f.puts ARGV.join(' ') f.close() exec '/usr/local/bin/git ' + ARGV.join(' ')
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#3 | 11706 | Matt Attaway | Make both scripts executable | ||
#2 | 11704 | Matt Attaway |
Use the locally installed Git instead of the Xcode one Main reason for this is it's easier than having to remember a special name for the real Git. I should probably just use the renamed one inside of Xcode, but this will do for now. |
||
#1 | 11624 | Matt Attaway |
Initial drop of my work on p4 in git clothing Inspired by the work of hsivank: https://bitbucket.org/hsivank/xcode4-with-mercurial/overview I've decided to make my own drop in Git replacement built on top of 15.1 p4. Currently it can handle cloning, init, status, mv, rm, and add. At least I think it can; it hasn't been tested with Xcode yet... Snooper.rb is a script to intercept Git commands called from Xcode so that I can figure out what the output needs to look like. Clone requires a p4 URI of the form: [username@]p4://<hostname>[:port]/<depot path> |