diff options
author | Avery Pennarun <apenwarr@gmail.com> | 2008-07-30 16:53:55 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-08-03 18:13:53 -0700 |
commit | 611921654ffb854338ab758009a93c70054fab7f (patch) | |
tree | 7e3a01c463a86d8ed0c262e01921ddf6be8a9264 /run-command.c | |
parent | 2c3766f06adf0ba226a592939971f8ef587e54c1 (diff) | |
download | git-611921654ffb854338ab758009a93c70054fab7f.tar.gz |
git-svn: Abort with an error if 'fetch' parameter is invalid.
Previously, if a config entry looked like this:
svn-remote.svn.fetch=:refs/heads/whatever
git-svn would silently do nothing if you asked it to "git svn fetch", and
give a strange error if asked to "git svn dcommit". What it really wants is
a line that looks like this:
svn-remote.svn.fetch=:refs/remotes/whatever
So we should simply abort if we get the wrong thing.
On the other hand, there's actually no good reason for git-svn to enforce
using the refs/remotes namespace, but the code seems to have hardcoded this
in several places and I'm not brave enough to try to fix it all right now.
Signed-off-by: Avery Pennarun <apenwarr@gmail.com>
Acked-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'run-command.c')
0 files changed, 0 insertions, 0 deletions