For educational reasons I've decided to create my own CA. Here is what I learned.
Lets get some context first.
| #!/bin/bash | |
| # | |
| # git-svn-diff originally by (http://mojodna.net/2009/02/24/my-work-git-workflow.html) | |
| # modified by mike@mikepearce.net | |
| # modified by aconway@[redacted] - handle diffs that introduce new files | |
| # | |
| # Generate an SVN-compatible diff against the tip of the tracking branch | |
| # Get the tracking branch (if we're on a branch) | |
| TRACKING_BRANCH=`git svn info | grep URL | sed -e 's/.*\/branches\///'` |