diff options
author | Sven Verdoolaege <skimo@liacs.nl> | 2005-06-30 17:23:22 +0200 |
---|---|---|
committer | Matthias Urlichs <smurf@kiste.(none)> | 2005-06-30 17:23:22 +0200 |
commit | 0fa2824f358febe306861f0cab73d25815372ee4 (patch) | |
tree | 84ab873d2254f346ca73f43802effe7b56101398 /git-cvsimport-script | |
parent | dbc1aeace608ebd9422d86efde000dc11a1563be (diff) | |
download | git-0fa2824f358febe306861f0cab73d25815372ee4.tar.gz |
cvsimport: perform string comparison on "HEAD"
Diffstat (limited to 'git-cvsimport-script')
-rwxr-xr-x | git-cvsimport-script | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-cvsimport-script b/git-cvsimport-script index 6ac31a7160..8e0e4ac4b2 100755 --- a/git-cvsimport-script +++ b/git-cvsimport-script @@ -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; |