Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

Commit 9773cae

Browse files
committed
Adjust early to deprecations in GitWrap
1 parent 304a32d commit 9773cae

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Libs/libMacGitverCore/RepoMan/Repo.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ namespace RM
354354
{
355355
mRepo = repo;
356356
mHead = NULL;
357-
mPath = mRepo.basePath();
357+
mPath = mRepo.workTreePath();
358358
mIsLoaded = mRepo.isValid();
359359
mIsActive = false;
360360
mIsBare = mRepo.isValid() && mRepo.isBare();
@@ -465,7 +465,7 @@ namespace RM
465465
Q_ASSERT(subRepo.isValid());
466466

467467
Repo* subInfo = NULL;
468-
QString path = subRepo.basePath();
468+
QString path = subRepo.workTreePath();
469469

470470
if (path.endsWith(L'/')) {
471471
path = path.left(path.length() - 1);

Libs/libMacGitverCore/RepoMan/RepoMan.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ namespace RM
108108
{
109109
RM_D(RepoMan);
110110

111-
Repo* repo = repoByPath(gitRepo.basePath(), false);
111+
Repo* repo = repoByPath(gitRepo.workTreePath(), false);
112112

113113
if(!repo) {
114114
repo = new Repo(gitRepo, this);

0 commit comments

Comments
 (0)