aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@trolltech.com>2008-08-16 10:29:49 +0200
committerThiago Macieira <thiago.macieira@trolltech.com>2008-08-16 10:29:49 +0200
commitb3b433a81f2c38d8ed64f07aa4d793627fc7411e (patch)
tree868ad341ec7b7184c268110fb309cc8efe25eaa8
parentc0a3eea369637ab8378f4789c81515e1869c9db6 (diff)
downloadsvn2git-b3b433a81f2c38d8ed64f07aa4d793627fc7411e.tar
svn2git-b3b433a81f2c38d8ed64f07aa4d793627fc7411e.tar.gz
svn2git-b3b433a81f2c38d8ed64f07aa4d793627fc7411e.tar.bz2
svn2git-b3b433a81f2c38d8ed64f07aa4d793627fc7411e.tar.xz
svn2git-b3b433a81f2c38d8ed64f07aa4d793627fc7411e.zip
trim the newlines
-rw-r--r--src/repository.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/repository.cpp b/src/repository.cpp
index 7c085ce..65beba8 100644
--- a/src/repository.cpp
+++ b/src/repository.cpp
@@ -54,7 +54,7 @@ void Repository::reloadBranches()
startFastImport();
while (revParse.canReadLine()) {
- QByteArray branchName = revParse.readLine();
+ QByteArray branchName = revParse.readLine().trimmed();
branches[branchName].created = 1;
fastImport.write("reset refs/heads/" + branchName +