Re: [RFC/PATCH] Change "refs/" references to symbolic constants

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

 



Andy Parkins <andyparkins@xxxxxxxxx> 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".


-
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]