aboutsummaryrefslogtreecommitdiffstats
path: root/storage/filesystem/dotgit/dotgit.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2020-06-16 01:45:44 +0200
committerGitHub <noreply@github.com>2020-06-16 01:45:44 +0200
commit16918a5be9a2076bbb686b2580da1988d557da6d (patch)
tree41daf4cb42a97aa209f198e0b5299e048957d80f /storage/filesystem/dotgit/dotgit.go
parent5cafe4097c72c0673255fdf8cac44fc513c6042c (diff)
parent63c42e530e9ffdf070f74a2674aa1a1fc24703a8 (diff)
downloadgo-git-16918a5be9a2076bbb686b2580da1988d557da6d.tar.gz
Merge pull request #88 from distorhead/cherryPickCommonDirSupport
storage: filesystem, support .git/commondir repository layout
Diffstat (limited to 'storage/filesystem/dotgit/dotgit.go')
-rw-r--r--storage/filesystem/dotgit/dotgit.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/storage/filesystem/dotgit/dotgit.go b/storage/filesystem/dotgit/dotgit.go
index 83c7683..3840ea7 100644
--- a/storage/filesystem/dotgit/dotgit.go
+++ b/storage/filesystem/dotgit/dotgit.go
@@ -30,6 +30,12 @@ const (
objectsPath = "objects"
packPath = "pack"
refsPath = "refs"
+ branchesPath = "branches"
+ hooksPath = "hooks"
+ infoPath = "info"
+ remotesPath = "remotes"
+ logsPath = "logs"
+ worktreesPath = "worktrees"
tmpPackedRefsPrefix = "._packed-refs"