diff options
author | John Keeping <john@keeping.me.uk> | 2013-01-17 22:19:33 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2013-01-17 23:28:12 +0000 |
commit | 2934a484fdaf9ceea4da2e9402a2f54dcaf59fb1 (patch) | |
tree | 536d4929ff1b404ba5d167e33190c3fc25c45586 /commit.h | |
parent | 9012f571b46d882dbaed3f31ab59a30d187b2d05 (diff) | |
download | git-2934a484fdaf9ceea4da2e9402a2f54dcaf59fb1.tar.gz git-2934a484fdaf9ceea4da2e9402a2f54dcaf59fb1.tar.xz |
git-svn: teach find-rev to find near matches
When a single SVN repository is split into multiple Git repositories
many SVN revisions will exist in only one of the Git repositories
created. For some projects the only way to build a working artifact is
to check out corresponding versions of various repositories, with no
indication of what those are in the Git world - in the SVN world the
revision numbers are sufficient.
By adding "--before" to "git-svn find-rev" we can say "tell me what this
repository looked like when that other repository looked like this":
git svn find-rev --before \
r$(git --git-dir=/over/there.git svn find-rev HEAD)
Signed-off-by: John Keeping <john@keeping.me.uk>
Signed-off-by: Eric Wong <normalperson@yhbt.net>
Diffstat (limited to 'commit.h')
0 files changed, 0 insertions, 0 deletions