From 2309367eb43cedd768da3f0ade7fcd9aeeff10e1 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 16 Aug 2025 16:04:21 +0100 Subject: Update branch names from master to main --- src/repo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) { -- cgit v1.2.3