From 52ae3ceadde579f8f34c6bf6d620f95c8826b9a7 Mon Sep 17 00:00:00 2001 From: Thomas Zander Date: Wed, 22 Jul 2009 22:32:42 +0300 Subject: [PATCH] Fix detecting of binary file status for new files --- src/hunks/ChangeSet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hunks/ChangeSet.cpp b/src/hunks/ChangeSet.cpp index de5c824..605ca83 100644 --- a/src/hunks/ChangeSet.cpp +++ b/src/hunks/ChangeSet.cpp @@ -468,7 +468,7 @@ QList ChangeSet::readGitDiff(QIODevice &git, File *fileToDiff) storeFile(); m_state = InHeader; } - else if (line.startsWith("Binary files a/") && line.indexOf(" differ") > 0) { + else if (line.startsWith("Binary files ") && line.indexOf(" differ") > 0) { Q_ASSERT(m_fileToDiff); m_fileToDiff->setBinary(true); return true; -- 2.11.4.GIT