From: Sven Verdoolaege Date: Thu, 30 Jun 2005 15:23:22 +0000 (+0200) Subject: cvsimport: perform string comparison on "HEAD" X-Git-Tag: v0.99~71^2^2~12 X-Git-Url: https://git.octo.it/?p=git.git;a=commitdiff_plain;h=0fa2824f358febe306861f0cab73d25815372ee4 cvsimport: perform string comparison on "HEAD" --- diff --git a/git-cvsimport-script b/git-cvsimport-script index 6ac31a71..8e0e4ac4 100755 --- a/git-cvsimport-script +++ b/git-cvsimport-script @@ -529,7 +529,7 @@ while() { } 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;