From: Martin Ågren Date: Thu, 11 Apr 2024 10:39:59 GMT Subject: Re: [PATCH v2 1/2] doc: git.txt-Fix inconsistency param description Message-ID: In-Reply-To: <28a5625f32cca6ef134a385fe9ba66962c40100f.1712822221.git.gitgitgadget@gmail.com> On Thu, 11 Apr 2024 at 10:20, 秃头灯笼鱼 via GitGitGadget wrote: > > From: =?UTF-8?q?=E7=A7=83=E5=A4=B4=E7=81=AF=E7=AC=BC=E9=B1=BC?= > > > Signed-off-by: 秃头灯笼鱼 > - [--git-dir=] [--work-tree=] [--namespace=] > + [--git-dir=] [--work-tree=] [--namespace=] This makes it consistent with the instance later in the document, where it already says "--namespace=". Ok. However, this is documented as "equivalent to setting the GIT_NAMESPACE environment variable". And gitnamespaces(7) says "GIT_NAMESPACE=", so that is still inconsistent. I also see this: Note that namespaces which include a / will expand to a hierarchy of namespaces; for example, GIT_NAMESPACE=foo/bar will store refs under refs/namespaces/foo/refs/namespaces/bar/ So foo/bar isn't a file path. gitnamespaces(7) uses "path", "namespace" and "namespace path" sort of interchangeably. Even so, I think it could be a good idea to avoid "path" since it could give the wrong kind of ideas. I wonder if this patch should instead change both --namespace= and --namespace= to --namespace= and give some motivation such as "Make the placeholder consistent with the gitnamespaces document." What do you think? Martin