diff options
author | Eric Wong <normalperson@yhbt.net> | 2007-02-10 21:07:12 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-02-10 22:48:18 -0800 |
commit | 7774284ac733fac7a23bff058c949723953ece34 (patch) | |
tree | 4a605c11c52b28eaf395a074ba6ff81e34372c97 /git-svn.perl | |
parent | dfd42a3c6281275b518f10938dcd858558cd82e3 (diff) | |
download | git-7774284ac733fac7a23bff058c949723953ece34.tar.gz |
git-svn: correctly handle boolean options via git-config
We don't append a space after '--bool', so we can't expect
a regular expression to match the space.
Semi-noticed by Junio C Hamano :)
Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-svn.perl')
-rwxr-xr-x | git-svn.perl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-svn.perl b/git-svn.perl index 8ebaae9ff8..d792a62d7c 100755 --- a/git-svn.perl +++ b/git-svn.perl @@ -1610,7 +1610,7 @@ sub read_repo_config { @$v = @tmp if @tmp; } else { chomp(my $tmp = `$arg --get svn.$key`); - if ($tmp && !($arg =~ / --bool / && $tmp eq 'false')) { + if ($tmp && !($arg =~ / --bool/ && $tmp eq 'false')) { $$v = $tmp; } } |