Re: RFC: optionally reject case-clone branch names
David Turner <dturner@twopensource.com> writes:
Show 9 quoted lines
> RFC follows:
>
> 1. On a case-insensitive server, git receive-pack ought to always reject
> branches which are same-but-for-case of existing branches.
> 2. On a case-sensitive server, the same rule by default, with an option
> to allow the old behavior.
>
> Let me know if, should I write these patches, they would be likely to be
> accepted.
There is another a lot simpler possiblity, no?
3. On any server whose administrator chooses to enforce "one case
variant only" rule, install a pre-receive hook that enforces the
rule.