aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/repository.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/repository.cpp b/src/repository.cpp
index cc96e7b..bd2931a 100644
--- a/src/repository.cpp
+++ b/src/repository.cpp
@@ -257,6 +257,7 @@ void Repository::createBranch(const QString &branch, int revnum,
void Repository::deleteBranch(const QString &branch, int revnum)
{
+ startFastImport();
QByteArray branchRef = branch.toUtf8();
if (!branchRef.startsWith("refs/"))
branchRef.prepend("refs/heads/");