VCS: Use relative path for apply/revert chunk

Task-number: QTCREATORBUG-9715

Change-Id: I3bfaea3922ace396230ef5e215712a9f3459808b
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
Orgad Shaneh
2013-07-01 22:56:36 +03:00
committed by Orgad Shaneh
parent db4ce016bc
commit 20e9b33741
3 changed files with 8 additions and 5 deletions

View File

@@ -78,7 +78,7 @@ class VCSBASE_EXPORT DiffChunk
{
public:
bool isValid() const;
QByteArray asPatch() const;
QByteArray asPatch(const QString &workingDirectory) const;
QString fileName;
QByteArray chunk;