]> git.ipfire.org Git - thirdparty/git.git/commit - git-svn.perl
git-svn: add a show-externals command.
authorVineet Kumar <vineet@doorstop.net>
Mon, 19 Nov 2007 22:56:15 +0000 (14:56 -0800)
committerEric Wong <normalperson@yhbt.net>
Sat, 1 Dec 2007 07:32:51 +0000 (23:32 -0800)
commit2d8797921511b141a6d1b2f74f763f5e9197cc40
treea687514a8542e2a1b01d857e2fae0acbd84df579
parent8d7c4fad3ff6b3f675568adab9ddf77e9fcf8b8a
git-svn: add a show-externals command.

show-externals can be used by scripts to provide svn:externals-like
functionality.  For example, a script can list all of the externals and then
use check out the listed URLs at the appropriate paths, similar to what the svn
client does.  Said script (or perhaps git-svn itself, in the future) could
simply invoke svn export on the paths, or it could go one further, using
git-svn clone and even git-submodule together to better integrate externals
checkouts.

The implementation is shamelessly copied from show-ignores.  A more general
command to list user-specified properties is probably a better idea.

Signed-off-by: Vineet Kumar <vineet@doorstop.net>
Acked-by: Eric Wong <normalperson@yhbt.net>
git-svn.perl