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>
This commit is contained in:
parent
dfd42a3c62
commit
7774284ac7
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user