summaryrefslogtreecommitdiff
path: root/src/plugins/git/gitversioncontrol.h
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2013-10-02 00:18:39 +0300
committerOrgad Shaneh <orgads@gmail.com>2013-10-11 12:43:25 +0200
commitfdb6ef90fc7a695e2b8d37abdfcf48fe0d8afb03 (patch)
treedbf64e035c2a58235ad16b0e0d575f300e56db36 /src/plugins/git/gitversioncontrol.h
parent6f24665e7e133d9d64ea07ae37e35b9e1a1e83a7 (diff)
downloadqt-creator-fdb6ef90fc7a695e2b8d37abdfcf48fe0d8afb03.tar.gz
VCS: Do not try to add files that are already tracked
Task-number: QTCREATORBUG-2455 Change-Id: I4b1fa9676ad4a8d7293e035e4d6103251bef8aee Reviewed-by: Nikita Baryshnikov <nib952051@gmail.com> Reviewed-by: Cristian Tibirna <tibirna@kde.org> Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Diffstat (limited to 'src/plugins/git/gitversioncontrol.h')
-rw-r--r--src/plugins/git/gitversioncontrol.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/git/gitversioncontrol.h b/src/plugins/git/gitversioncontrol.h
index 6baa152077..71c53be43c 100644
--- a/src/plugins/git/gitversioncontrol.h
+++ b/src/plugins/git/gitversioncontrol.h
@@ -48,6 +48,7 @@ public:
Core::Id id() const;
bool managesDirectory(const QString &directory, QString *topLevel) const;
+ bool managesFile(const QString &workingDirectory, const QString &fileName) const;
bool isConfigured() const;
bool supportsOperation(Operation operation) const;