]> git.ipfire.org Git - thirdparty/git.git/commit - git-svn.perl
git-svn: respect commiturl option for branch/tag
authorIgor Mironov <igor.a.mironov@gmail.com>
Mon, 11 Jan 2010 16:21:23 +0000 (03:21 +1100)
committerEric Wong <normalperson@yhbt.net>
Sat, 23 Jan 2010 11:23:03 +0000 (03:23 -0800)
commit99bacd6c25d30766921468d09323b2c34cf62cb8
treec5f3d27c439df2ae36a4b32817be5e8295c9d3ee
parenta83b91e7246fed3df5686c29a3c64eed8670fd98
git-svn: respect commiturl option for branch/tag

When constructing a destination URL, use the property 'commiturl' if it
is specified in the configuration file; otherwise take 'url' as usual.
This accommodates the scenario where a user only wants to involve the
writable repository in operations performing a commit and defaults
everything else to a read-only URL.

[ew: shortened subject]

Signed-off-by: Igor Mironov <igor.a.mironov@gmail.com>
Acked-by: Eric Wong <normalperson@yhbt.net>
git-svn.perl