diff options
author | Tobias Hunger <[email protected]> | 2011-10-19 15:49:13 +0000 |
---|---|---|
committer | Tobias Hunger <[email protected]> | 2011-10-31 11:49:39 +0100 |
commit | 494fbdb0d2d486ba43dd655e2fa126bfa881f44b (patch) | |
tree | d280bed55ad9293119d96e668f322b313c352d6b /src/plugins/git/gitclient.h | |
parent | 366a9d0d0eb450d1af58bc2c2d54c5e05bff82ee (diff) |
Git: Do the right thing when commiting
Do the right thing when commiting in git. This allows
staged files to be commited without additional changes, etc.
Change-Id: Ib04c91cf9c105c4a2bbe013926112d6d5d3bade6
Reviewed-by: Tobias Hunger <[email protected]>
Diffstat (limited to 'src/plugins/git/gitclient.h')
-rw-r--r-- | src/plugins/git/gitclient.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/plugins/git/gitclient.h b/src/plugins/git/gitclient.h index f4520e215a1..fff6aa6b0bf 100644 --- a/src/plugins/git/gitclient.h +++ b/src/plugins/git/gitclient.h @@ -57,6 +57,7 @@ namespace Core { namespace VCSBase { class VCSBaseEditorWidget; + class SubmitFileModel; } namespace Utils { @@ -204,16 +205,13 @@ public: const GitSubmitEditorPanelData &data, const QString &amendSHA1, const QString &messageFile, - const QStringList &checkedFiles, - const QStringList &origCommitFiles, - const QStringList &origDeletedFiles); + VCSBase::SubmitFileModel *model); enum StatusResult { StatusChanged, StatusUnchanged, StatusFailed }; StatusResult gitStatus(const QString &workingDirectory, bool untracked = false, QString *output = 0, - QString *errorMessage = 0, - bool *onBranch = 0); + QString *errorMessage = 0, bool *onBranch = 0); void launchGitK(const QString &workingDirectory); QStringList synchronousRepositoryBranches(const QString &repositoryURL); |