<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Documentation/CodingGuidelines, branch v2.4.4</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.4.4</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.4.4'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2015-04-14T16:55:29Z</updated>
<entry>
<title>Merge branch 'jg/cguide-we-cannot-count'</title>
<updated>2015-04-14T16:55:29Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-04-14T16:55:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=638cbf5f0f0dba7df1ad487e45638342c9afb6a0'/>
<id>urn:sha1:638cbf5f0f0dba7df1ad487e45638342c9afb6a0</id>
<content type='text'>
* jg/cguide-we-cannot-count:
  CodingGuidelines: update 'rough' rule count
</content>
</entry>
<entry>
<title>CodingGuidelines: update 'rough' rule count</title>
<updated>2015-04-14T16:50:31Z</updated>
<author>
<name>Julian Gindi</name>
<email>juliangindi@gmail.com</email>
</author>
<published>2015-04-13T12:54:14Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6c3b2afe6f64d33c176a8d369793392d7659fd6f'/>
<id>urn:sha1:6c3b2afe6f64d33c176a8d369793392d7659fd6f</id>
<content type='text'>
Changed inaccurate count of "rough rules" from three to the more
generic 'a few'.

Signed-off-by: Julian Gindi &lt;juliangindi@gmail.com&gt;
Reviewed-by: Eric Sunshine &lt;sunshine@sunshineco.com&gt;
Reviewed-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>*config.txt: stick to camelCase naming convention</title>
<updated>2015-03-14T05:13:46Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2015-03-11T20:32:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=da0005b8853137c91e44867d899910d5c7eb4425'/>
<id>urn:sha1:da0005b8853137c91e44867d899910d5c7eb4425</id>
<content type='text'>
This should improve readability. Compare "thislongname" and
"thisLongName". The following keys are left in unchanged. We can
decide what to do with them later.

 - am.keepcr
 - core.autocrlf .safecrlf .trustctime
 - diff.dirstat .noprefix
 - gitcvs.usecrlfattr
 - gui.blamehistoryctx .trustmtime
 - pull.twohead
 - receive.autogc
 - sendemail.signedoffbycc .smtpsslcertpath .suppresscc

Helped-by: Eric Sunshine &lt;sunshine@sunshineco.com&gt;
Signed-off-by: Nguyễn Thái Ngọc Duy &lt;pclouds@gmail.com&gt;
Signed-off-by: Eric Sunshine &lt;sunshine@sunshineco.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jc/conf-var-doc'</title>
<updated>2015-02-22T20:28:31Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-02-22T20:28:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9a9c1f1fdfb4e8bb253bfa27311e8a8ad82c8859'/>
<id>urn:sha1:9a9c1f1fdfb4e8bb253bfa27311e8a8ad82c8859</id>
<content type='text'>
Longstanding configuration variable naming rules has been added to
the documentation.

* jc/conf-var-doc:
  CodingGuidelines: describe naming rules for configuration variables
  config.txt: mark deprecated variables more prominently
  config.txt: clarify that add.ignore-errors is deprecated
</content>
</entry>
<entry>
<title>Merge branch 'ah/usage-strings'</title>
<updated>2015-02-11T21:44:20Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-02-11T21:44:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=bb831db6774aaa733199360dc7af6f3ce375fc20'/>
<id>urn:sha1:bb831db6774aaa733199360dc7af6f3ce375fc20</id>
<content type='text'>
* ah/usage-strings:
  standardize usage info string format
</content>
</entry>
<entry>
<title>Merge branch 'jc/coding-guidelines'</title>
<updated>2015-02-11T21:37:42Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-02-11T21:37:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=fcae987e946ff25e055b7cc5b5b9801d682a7baf'/>
<id>urn:sha1:fcae987e946ff25e055b7cc5b5b9801d682a7baf</id>
<content type='text'>
* jc/coding-guidelines:
  CodingGuidelines: clarify C #include rules
</content>
</entry>
<entry>
<title>CodingGuidelines: describe naming rules for configuration variables</title>
<updated>2015-02-02T19:28:55Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-01-27T20:26:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=35840a3e789dd67528caefc146deb698bd6ac7a5'/>
<id>urn:sha1:35840a3e789dd67528caefc146deb698bd6ac7a5</id>
<content type='text'>
We may want to say something about command line option names in the
new section as well, but for now, let's make sure everybody is clear
on how to structure and name their configuration variables.

The text for the rules are partly taken from the log message of
Jonathan's 6b3020a2 (add: introduce add.ignoreerrors synonym for
add.ignore-errors, 2010-12-01).

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>CodingGuidelines: clarify C #include rules</title>
<updated>2015-01-15T23:42:50Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-01-15T23:20:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=412cb2ec1302364aba862b183210249c2ca7d44e'/>
<id>urn:sha1:412cb2ec1302364aba862b183210249c2ca7d44e</id>
<content type='text'>
Even though "advice.h" includes "git-compat-util.h", it is not
sensible to have it as the first #include and indirectly satisify
the "You must give git-compat-util.h a clean environment to set up
feature test macros before including any of the system headers are
included", which is the real requirement.

Because:

 - A command that interacts with the object store, config subsystem,
   the index, or the working tree cannot do anything without using
   what is declared in "cache.h";

 - A built-in command must be declared in "builtin.h", so anything
   in builtin/*.c must include it;

 - These two headers both include "git-compat-util.h" as the first
   thing; and

 - Almost all our *.c files (outside compat/ and borrowed files in
   xdiff/) need some Git-ness from "cache.h" to do something
   Git-ish.

let's explicitly specify that one of these three header files must
be the first thing that is included.

Any of our *.c file should include the header file that directly
declares what it uses, instead of relying on the fact that some *.h
file it includes happens to include another *.h file that declares
the necessary function or type.  Spell it out as another guideline
item.

Helped-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>standardize usage info string format</title>
<updated>2015-01-14T17:32:04Z</updated>
<author>
<name>Alex Henrie</name>
<email>alexhenrie24@gmail.com</email>
</author>
<published>2015-01-13T07:44:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9c9b4f2f8b7f27f3984e80d053106d5d41cbb03b'/>
<id>urn:sha1:9c9b4f2f8b7f27f3984e80d053106d5d41cbb03b</id>
<content type='text'>
This patch puts the usage info strings that were not already in docopt-
like format into docopt-like format, which will be a litle easier for
end users and a lot easier for translators. Changes include:

- Placing angle brackets around fill-in-the-blank parameters
- Putting dashes in multiword parameter names
- Adding spaces to [-f|--foobar] to make [-f | --foobar]
- Replacing &lt;foobar&gt;* with [&lt;foobar&gt;...]

Signed-off-by: Alex Henrie &lt;alexhenrie24@gmail.com&gt;
Reviewed-by: Matthieu Moy &lt;Matthieu.Moy@imag.fr&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'po/error-message-style'</title>
<updated>2014-07-16T18:33:03Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-07-16T18:33:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7591e2c53c6f02626e376a98b5f95745fbfe108f'/>
<id>urn:sha1:7591e2c53c6f02626e376a98b5f95745fbfe108f</id>
<content type='text'>
* po/error-message-style:
  doc: give some guidelines for error messages
</content>
</entry>
</feed>
