Re: [RFC/PATCH] Change "refs/" references to symbolic constants
- From
Junio C Hamano <junkio@cox.net>
- Date
- Dec 16, 2006, 21:44 UTC
- Message-ID
- <7vslffcy80.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <200612141644.06167.andyparkins@gmail.com>
Andy Parkins <andyparkins@gmail.com> 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".