From 801b1a160558ed8b862e683c7aaf5092b0c1adb2 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 28 Jul 2019 13:21:33 +0100 Subject: Support working tree based on a commit, tag or branch --- src/repo.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/repo.h') diff --git a/src/repo.h b/src/repo.h index 18b1057..adeac94 100644 --- a/src/repo.h +++ b/src/repo.h @@ -35,7 +35,9 @@ namespace GitFS { private: friend class Directory; friend class Blob; - Git::RepositoryPtr repo; + const Git::RepositoryPtr repo; + const std::string commitish; + bool isBranch; Git::CommitPtr commit; Git::TreePtr tree; const std::string gid, uid; -- cgit v1.2.3