Thread (1 message) 1 message, 1 author, 2020-07-24

Re: Creation of a branch named that has a directory prefix equal to the name of another branch fail.

From: Junio C Hamano <hidden>
Date: 2020-07-24 20:36:13

Tommaso Ercole [off-list ref] writes:
As per compiled bug report, creation of a branch that has a prefix that map to a folder, when that prefix is just an existing branch in the repo fails.

I.E. 'a/b/c' when 'a/b' just exists.
Yup, that is one of the natural consequences of the design to
organize refs in a directory like hierarchies.  There are various
ref backends (e.g. packed-refs that already exists, and reftable)
that could potentially store both D and D/F at the same time, but
it is very likely that the higher layer that calls into these ref
backends will keep the behaviour as a policy, to ensure that those
on older versions of Git can smoothly interoperate with newer
versions of Git.

Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help