aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/git/commitdata.cpp
diff options
context:
space:
mode:
authorhjk <[email protected]>2025-04-24 09:53:54 +0200
committerhjk <[email protected]>2025-04-24 10:17:44 +0000
commit6e552e43416df72299194831e158ca86da3d89d6 (patch)
tree3ec187640c87c28ad5b539ab987c4dfcec0e07b9 /src/plugins/git/commitdata.cpp
parent472134a39f818d1ac78ca6354a4780d14d28548f (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 <[email protected]>
Diffstat (limited to 'src/plugins/git/commitdata.cpp')
-rw-r--r--src/plugins/git/commitdata.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/plugins/git/commitdata.cpp b/src/plugins/git/commitdata.cpp
index 59958d89923..18d51729dc6 100644
--- a/src/plugins/git/commitdata.cpp
+++ b/src/plugins/git/commitdata.cpp
@@ -38,16 +38,6 @@ CommitData::CommitData(CommitType type)
{
}
-void CommitData::clear()
-{
- panelInfo.clear();
- panelData.clear();
- amendHash.clear();
- enablePush = false;
-
- files.clear();
-}
-
static FileStates stateFor(const QChar &c)
{
switch (c.unicode()) {