1
0
mirror of https://github.com/git/git.git synced 2024-11-18 04:14:01 +01:00

cvsimport: perform string comparison on "HEAD"

This commit is contained in:
Sven Verdoolaege 2005-06-30 17:23:22 +02:00 committed by Matthias Urlichs
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;