Re: [PATCH v4] Introduce %<branch> as shortcut to the tracked branch

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

 



On Sat, 21 Mar 2009, Julian Phillips wrote:

On Sat, 21 Mar 2009, Andreas Gruenbacher wrote:

 On Saturday, 21 March 2009 0:08:42 Julian Phillips wrote:
>  How about adding a generic escape hatch, that would cover this and
>  future extensions?
> > Let a ref that starts with a single quote be taken as given and not > processed. You have to escape it to get it past the shell, but that > makes > it rather unlikely that anyone has used a name that starts with a quote > -
>  and if they have you can still use this mechanism to rename it.

 To me the most obvious escape sequence would be \x for disabling whatever
 special meaning x has (for non-alphabetic x). With quoting you likely
 eventually end up needing  \' in some cases anyway...

Except that \ is the escape character for the shell too ... and that can get very confusing. Haven't you ever spent too long trying to figure out how many \s you needed to get the command to work properly?

Having said that, the actual character used doesn't really matter. That's just a what colour do you want your shed type detail ...

--
Julian

 ---
BOFH Excuse #118:

the router thinks its a printer.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux