mirror of
https://github.com/git/git.git
synced 2025-01-21 15:04:02 +08:00
cvsimport: perform string comparison on "HEAD"
This commit is contained in:
parent
dbc1aeace6
commit
0fa2824f35
@ -529,7 +529,7 @@ while(<CVS>) {
|
||||
} elsif($state == 5 and s/^Ancestor branch:\s+//) {
|
||||
s/\s+$//;
|
||||
$ancestor = $_;
|
||||
$ancestor = $opt_o if $ancestor == "HEAD";
|
||||
$ancestor = $opt_o if $ancestor eq "HEAD";
|
||||
$state = 6;
|
||||
} elsif($state == 5) {
|
||||
$ancestor = undef;
|
||||
|
Loading…
Reference in New Issue
Block a user