<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Documentation/CodingGuidelines, branch v2.9.2</title>
<subtitle>Fork of git SCM with my patches.</subtitle>
<id>http://git.kilabit.info/git/atom?h=v2.9.2</id>
<link rel='self' href='http://git.kilabit.info/git/atom?h=v2.9.2'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/'/>
<updated>2016-06-08T19:04:37Z</updated>
<entry>
<title>doc: clearer rule about formatting literals</title>
<updated>2016-06-08T19:04:37Z</updated>
<author>
<name>Tom Russello</name>
<email>tom.russello@grenoble-inp.org</email>
</author>
<published>2016-06-07T22:35:05Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=41f5b21f84b4d7db8e8c6edb34682c0f840ad8c8'/>
<id>urn:sha1:41f5b21f84b4d7db8e8c6edb34682c0f840ad8c8</id>
<content type='text'>
Make the guideline text that we want for our documentation clearer.

Signed-off-by: Tom Russello &lt;tom.russello@grenoble-inp.org&gt;
Signed-off-by: Erwan Mathoniere &lt;erwan.mathoniere@grenoble-inp.org&gt;
Signed-off-by: Samuel Groot &lt;samuel.groot@grenoble-inp.org&gt;
Signed-off-by: Matthieu Moy &lt;matthieu.moy@grenoble-inp.fr&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>add DEVELOPER makefile knob to check for acknowledged warnings</title>
<updated>2016-02-25T20:49:45Z</updated>
<author>
<name>Lars Schneider</name>
<email>larsxschneider@gmail.com</email>
</author>
<published>2016-02-25T08:42:22Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=658df95a4adb825f0c8a5faea7b545da6d1d5003'/>
<id>urn:sha1:658df95a4adb825f0c8a5faea7b545da6d1d5003</id>
<content type='text'>
We assume Git developers have a reasonably modern compiler and recommend
them to enable the DEVELOPER makefile knob to ensure their patches are
clear of all compiler warnings the Git core project cares about.

Enable the DEVELOPER makefile knob in the Travis-CI build.

Suggested-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Lars Schneider &lt;larsxschneider@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<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='http://git.kilabit.info/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='http://git.kilabit.info/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='http://git.kilabit.info/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='http://git.kilabit.info/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='http://git.kilabit.info/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='http://git.kilabit.info/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='http://git.kilabit.info/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='http://git.kilabit.info/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>
</feed>
