From 0fa2824f358febe306861f0cab73d25815372ee4 Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Thu, 30 Jun 2005 17:23:22 +0200 Subject: [PATCH] cvsimport: perform string comparison on "HEAD" --- git-cvsimport-script | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-cvsimport-script b/git-cvsimport-script index 6ac31a716..8e0e4ac4b 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; -- 2.26.2