diff options
author | Mattias Nissler <mattias.nissler@gmx.de> | 2009-07-07 01:40:02 +0200 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-07-11 14:14:32 -0700 |
commit | 0b2af457a49e3b00d47d556d5301934d27909db8 (patch) | |
tree | 4eb887c518c5b41e59b33db87024a78f288b9c70 /convert.c | |
parent | 3c49a03524b686c7b575e0a667736217e5445447 (diff) | |
download | git-0b2af457a49e3b00d47d556d5301934d27909db8.tar.gz git-0b2af457a49e3b00d47d556d5301934d27909db8.tar.xz |
git-svn: Fix branch detection when repository root is inaccessible
For the case of multiple projects sharing a single SVN repository, it is
common practice to create the standard SVN directory layout within a
subdirectory for each project. In such setups, access control is often
used to limit what projects a given user may access. git-svn failed to
detect branches (e.g. when passing --stdlayout to clone) because it
relied on having access to the root directory in the repository. This
patch solves this problem by making git-svn use paths relative to the
given repository URL instead of the repository root.
Signed-off-by: Mattias Nissler <mattias.nissler@gmx.de>
Acked-by: Eric Wong <normalperson@yhbt.net>
Diffstat (limited to 'convert.c')
0 files changed, 0 insertions, 0 deletions