diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-07-28 13:21:33 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-07-28 13:21:33 +0100 |
commit | 801b1a160558ed8b862e683c7aaf5092b0c1adb2 (patch) | |
tree | cdfd96d7f5164195e722f2c0d6df70c1613fa357 /src/repo.h | |
parent | Replace hard-coded test values with properties (diff) | |
download | netfs-gitfs-801b1a160558ed8b862e683c7aaf5092b0c1adb2.tar.bz2 netfs-gitfs-801b1a160558ed8b862e683c7aaf5092b0c1adb2.tar.xz netfs-gitfs-801b1a160558ed8b862e683c7aaf5092b0c1adb2.zip |
Support working tree based on a commit, tag or branch
Diffstat (limited to 'src/repo.h')
-rw-r--r-- | src/repo.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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; |