Skip to content

Commit 8ee0be9

Browse files
committed
git-cvs-synchronizer: OProfile still uses ISO-8859-1 encoding
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent acd1530 commit 8ee0be9

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

git-cvs-synchronizer.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,14 @@ cvs2git () {
5353
test -d "$CVS2SVN" ||
5454
git clone git://fiji.sc/cvs2svn "$CVS2SVN"
5555
}
56+
ENCODING=
57+
case "$CVSMODULE" in
58+
oprofile)
59+
ENCODING=--encoding=iso-8859-1
60+
;;
61+
esac
5662
"$CVS2SVN"/cvs2git --blobfile=cvs.blobs --dumpfile=cvs.dump \
57-
--username=git-synchronizer cvs-mirror/
63+
--username=git-synchronizer $ENCODING cvs-mirror/
5864
cat cvs.blobs cvs.dump |
5965
git fast-import
6066
}

0 commit comments

Comments
 (0)