summaryrefslogtreecommitdiff
path: root/git-cvsimport-script
diff options
context:
space:
mode:
authorSven Verdoolaege <skimo@liacs.nl>2005-06-30 15:23:22 (GMT)
committerMatthias Urlichs <smurf@kiste.(none)>2005-06-30 15:23:22 (GMT)
commit0fa2824f358febe306861f0cab73d25815372ee4 (patch)
tree84ab873d2254f346ca73f43802effe7b56101398 /git-cvsimport-script
parentdbc1aeace608ebd9422d86efde000dc11a1563be (diff)
downloadgit-0fa2824f358febe306861f0cab73d25815372ee4.zip
git-0fa2824f358febe306861f0cab73d25815372ee4.tar.gz
git-0fa2824f358febe306861f0cab73d25815372ee4.tar.bz2
cvsimport: perform string comparison on "HEAD"
Diffstat (limited to 'git-cvsimport-script')
-rwxr-xr-xgit-cvsimport-script2
1 files changed, 1 insertions, 1 deletions
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 @@ 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;