Git: Really add new/existing files

Task-number: QTCREATORBUG-10117

Change-Id: Ic254cb2f7860ca0973cfda58cf66f62b1b8eaeb7
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
Orgad Shaneh
2013-11-17 20:34:31 +02:00
committed by Orgad Shaneh
parent 825244224e
commit 920fa79667
3 changed files with 5 additions and 15 deletions

View File

@@ -86,9 +86,8 @@ bool GitVersionControl::vcsOpen(const QString & /*fileName*/)
bool GitVersionControl::vcsAdd(const QString & fileName)
{
// Implement in terms of using "--intent-to-add"
const QFileInfo fi(fileName);
return m_client->synchronousAdd(fi.absolutePath(), true, QStringList(fi.fileName()));
return m_client->synchronousAdd(fi.absolutePath(), QStringList(fi.fileName()));
}
bool GitVersionControl::vcsDelete(const QString & fileName)