projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbc1aea
)
cvsimport: perform string comparison on "HEAD"
author
Sven Verdoolaege
<skimo@liacs.nl>
Thu, 30 Jun 2005 15:23:22 +0000
(17:23 +0200)
committer
Matthias Urlichs
<smurf@kiste.(none)>
Thu, 30 Jun 2005 15:23:22 +0000
(17:23 +0200)
git-cvsimport-script
patch
|
blob
|
history
diff --git
a/git-cvsimport-script
b/git-cvsimport-script
index 6ac31a71604a26a271175c052b94534809ea07f9..8e0e4ac4b2e4bd2f8da3ad4511e5f9af371f9e2b 100755
(executable)
--- 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;