From 4f52f619a6d2cc1e7b38c80b0c354254dabd77b4 Mon Sep 17 00:00:00 2001 From: a <a@a.a> Date: Tue, 20 Sep 2022 08:08:28 -0500 Subject: [PATCH] add submodule --- .gitmodules | 3 +++ lib/util/cmux/cmux.go | 1 - postgres | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 .gitmodules create mode 160000 postgres diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 00000000..142a5afb --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "postgres"] + path = postgres + url = git@github.com:postgres/postgres.git diff --git a/lib/util/cmux/cmux.go b/lib/util/cmux/cmux.go index ad330e6d..1cb1dda9 100644 --- a/lib/util/cmux/cmux.go +++ b/lib/util/cmux/cmux.go @@ -39,7 +39,6 @@ func (f *FsmMux[T]) construct() { for _, fset := range f.funcs { path := fset.Ref lp := len(path) - switch lp { case 0: case 1: diff --git a/postgres b/postgres new file mode 160000 index 00000000..c9a21fea --- /dev/null +++ b/postgres @@ -0,0 +1 @@ +Subproject commit c9a21fea44ca5722dbfcced0dfdc84db063aff71 -- GitLab