dejagnu
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Makefile.am: allow slashes in git branches


From: Jose E. Marchesi
Subject: Re: [PATCH] Makefile.am: allow slashes in git branches
Date: Wed, 02 Sep 2020 18:41:32 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> 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

[Prev in Thread] Current Thread [Next in Thread]