From: Junio C Hamano Date: Sat, 16 Dec 2006 21:44:31 GMT Subject: Re: [RFC/PATCH] Change "refs/" references to symbolic constants Message-ID: <7vslffcy80.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <200612141644.06167.andyparkins@gmail.com> Andy Parkins writes: > Changed repeated use of the same constants for the ref paths to be > symbolic constants. This is not rejected nor forgotten but has not been applied yet, and may not be immediately. I would love to have this; it would reduce mistakes (spelling "refs/head/" would silently compile fine and result in a broken command, while spelling PATH_REFS_HEAD would be caught by the compiler). A sad thing is this needs to be done when things are relatively quiescent. So I would apply this before v1.5.0 (or a replacement, if you have updates), but it might have to wait a bit until I I can say "ok, no big patches to C part is pending right now and it is a good time to do this clean-up".