diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2025-08-16 16:04:21 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2025-08-16 16:25:54 +0100 |
commit | 2309367eb43cedd768da3f0ade7fcd9aeeff10e1 (patch) | |
tree | 491d9e3d521b756431307a673f637debaa20ba21 /src/repo.cpp | |
parent | Don't define a default toolset, use the system/project one (diff) | |
download | netfs-gitfs-2309367eb43cedd768da3f0ade7fcd9aeeff10e1.tar.bz2 netfs-gitfs-2309367eb43cedd768da3f0ade7fcd9aeeff10e1.tar.xz netfs-gitfs-2309367eb43cedd768da3f0ade7fcd9aeeff10e1.zip |
Update branch names from master to main
Diffstat (limited to 'src/repo.cpp')
-rw-r--r-- | src/repo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/repo.cpp b/src/repo.cpp index 2dca141..2bced8a 100644 --- a/src/repo.cpp +++ b/src/repo.cpp @@ -22,7 +22,7 @@ operator/(const std::string & a, const std::string & b) } GitFS::Repo::Repo(const PropertyReader & properties) : - repo(Git::RepositoryOpenBare(properties("gitdir"))), commitish(properties("commitish") / "master"), isBranch(false), + repo(Git::RepositoryOpenBare(properties("gitdir"))), commitish(properties("commitish") / "main"), isBranch(false), resolvedAt(0), gid(properties("gid") / "root"), uid(properties("uid") / "root") { if (commitish.length() == GIT_OID_HEXSZ) { |