Skip to content

Documenting naming rules for configuration variables

Junio C Hamano git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3config.txt: clarify that add.ignore-errors is deprecatedDocumentation/config.txt+4 -50 replies
2/3config.txt: mark deprecated variables more prominentlyDocumentation/config.txt+4 -40 replies
3/3CodingGuidelines: describe naming rules for configuration variablesDocumentation/CodingGuidelines+25 -09 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Documenting naming rules for configuration variables

So here is a rewrite of the same but split into three patches, after seeing "add.ignore-errors" not marked exactly as deprecated.

The update to CodingGuidelines goes a bit beyond how to name things (i.e. bumpyCase vs dashed-words, the latter of which is strongly discouraged) but how the names should be structured (i.e. no unbounded set of things as variable names).

We may have to also be careful about underscores (there is one I know about: gitweb.remote_heads that is used by instaweb), which might be a good starter topic for somebody new to the codebase.

Junio C Hamano (3):
config.txt: clarify that add.ignore-errors is deprecated config.txt: mark deprecated variables more prominently
CodingGuidelines: describe naming rules for configuration variables

 Documentation/CodingGuidelines | 25 +++++++++++++++++++++++++
 Documentation/config.txt       | 15 +++++++--------
 2 files changed, 32 insertions(+), 8 deletions(-)
Signature · 1 line
2.3.0-rc2-149-gdd42ee9