commit | 0fa2824f358febe306861f0cab73d25815372ee4 | [log] [tgz] |
---|---|---|
author | Sven Verdoolaege <skimo@liacs.nl> | Thu Jun 30 17:23:22 2005 +0200 |
committer | Matthias Urlichs <smurf@kiste.(none)> | Thu Jun 30 17:23:22 2005 +0200 |
tree | 84ab873d2254f346ca73f43802effe7b56101398 | |
parent | dbc1aeace608ebd9422d86efde000dc11a1563be [diff] [blame] |
cvsimport: perform string comparison on "HEAD"
diff --git a/git-cvsimport-script b/git-cvsimport-script index 6ac31a7..8e0e4ac 100755 --- a/git-cvsimport-script +++ b/git-cvsimport-script
@@ -529,7 +529,7 @@ } 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;