Subversion: More direct access to client singleton

Change-Id: I4263b07da9970101dbbc798dbf64359c1da5199b
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
hjk
2024-02-07 12:27:54 +01:00
parent 87f1114d21
commit 738b654396
3 changed files with 18 additions and 22 deletions

View File

@@ -291,6 +291,12 @@ void SubversionClient::describe(const FilePath &workingDirectory, int changeNumb
controller->requestReload();
}
SubversionClient &subversionClient()
{
static SubversionClient theSubversionClient;
return theSubversionClient;
}
} // namespace Internal
} // namespace Subversion