diff options
| author | hjk <hjk@qt.io> | 2025-04-24 09:53:54 +0200 |
|---|---|---|
| committer | hjk <hjk@qt.io> | 2025-04-24 10:17:44 +0000 |
| commit | 6e552e43416df72299194831e158ca86da3d89d6 (patch) | |
| tree | 3ec187640c87c28ad5b539ab987c4dfcec0e07b9 /src/plugins/git/commitdata.h | |
| parent | 472134a39f818d1ac78ca6354a4780d14d28548f (diff) | |
Git: Return Result<CommitData> from GitClient::getCommitData()
... and make the template part of CommitData to remove the need
of "out" parameters.
Change-Id: I1d28e71392bd08e13970fc6c1c8cefac0079b094
Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/git/commitdata.h')
| -rw-r--r-- | src/plugins/git/commitdata.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/git/commitdata.h b/src/plugins/git/commitdata.h index b8329c8db48..f804fd06993 100644 --- a/src/plugins/git/commitdata.h +++ b/src/plugins/git/commitdata.h @@ -72,7 +72,6 @@ public: // A pair of state string/file name ('modified', 'file.cpp'). using StateFilePair = QPair<FileStates, QString>; - void clear(); // Parse the files and the branch of panelInfo // from a git status output bool parseFilesFromStatus(const QString &output); @@ -90,6 +89,7 @@ public: GitSubmitEditorPanelData panelData; bool enablePush = false; QChar commentChar; + QString commitTemplate; QList<StateFilePair> files; |
