> Jose E. Marchesi wrote:
>> It is way common for git branches to feature slashes in their names.
>> This patch modifies a sed invocation in Makefile.am to use a different
>> command delimiter.
>>   
>
> Are there any characters that are actually not allowed in Git branch
> names or do I need to revise those commands a bit more?

>From git-check-ref-format(1):

        5. They cannot have question-mark ?, asterisk *, or open bracket [
           anywhere. See the --refspec-pattern option below for an exception
           to this rule.
        ...
        10. They cannot contain a \.

So I guess *, \ or ? are safe options for the sed rule :)

Reply via email to