{"thread":{"id":"47065","subject":"[PATCH 0/2] Convert SubmittingPatches to AsciiDoc","startedAt":"2017-10-29T21:19:30Z","lastAt":"2017-10-31T18:08:18Z","messageCount":10,"participants":["brian m. carlson","Junio C Hamano","Johannes Schindelin","Paolo Ciarrocchi"],"isPatch":true,"patchVersion":1,"patchTotal":2},"messages":[{"id":"331295","messageId":"20171029211308.272673-1-sandals@crustytoothpaste.net","threadId":"47065","inReplyTo":null,"subject":"[PATCH 0/2] Convert SubmittingPatches to AsciiDoc","fromName":"brian m. carlson","fromEmail":"sandals@crustytoothpaste.net","sentAt":"2017-10-29T21:13:06Z","receivedAt":"2017-10-29T21:19:30Z","isPatch":true,"sender":{"key":"sandals@crustytoothpaste.net","avatar":"https://avatars.githubusercontent.com/u/497054?v=4"},"body":"This series converts SubmittingPatches into AsciiDoc and builds it as\npart of the technical documentation.  The goal is to provide a format\nthat is more easily linkable both from our website and by others, as the\nGit Project's patch submission standards are widely referenced and used\nas examples.\n\nThe decision of what anchors to provide was mostly a matter of judgment,\nbut as a rule, I provided anchors to anything I've seen referenced in\nblog posts or other coding standards.  Opinions on my anchor names are\nwelcome.\n\nAs explained, I preferred to avoid renaming SubmittingPatches since it's\nreferred to in so many places, including our own website.  If the list\ndecides that it's better to just rename, I can do that; it does simplify\nthe patch somewhat.\n\nThe documentation has been tested with both AsciiDoc and Asciidoctor and\nlooks and functions fine either way.  (I normally use Asciidoctor, but\ndid test both.)\n\nThe first patch is a bridge to help AsciiDoc and Asciidoctor\ncompatibility.  It enables Asciidoctor's compatibility mode, which\ncurrently has no effect on our codebase[0].  I wrote it thinking that I\nwould use the AsciiDoc curly quote syntax, but realized that we use the\nplain ASCII version everywhere.  It can be kept or dropped, but I hope\nthat it might avoid some future compatibility issues down the line.  I\nhad intended to add it originally when writing the USE_ASCIIDOCTOR\nsupport, but it slipped my mind.\n\nI will admit that this series benefits me personally, as I do want to\nlink to our docs in this way, but I've seen other people want to as\nwell, and I feel that helping people find documentation on writing\nbetter commit messages and such would be beneficial for the open source\ncommunity as a whole.\n\nI expect to be sending a series on top of this one that provides support\nfor reproducible builds when built with a suitable version of\nAsciidoctor.\n\n[0] Running \"make clean && make html\" results in no changes to the\nDocumentation directory outside of the change to the Makefile itself.\n\nbrian m. carlson (2):\n  Documentation: enable compat-mode for Asciidoctor\n  Documentation: convert SubmittingPatches to AsciiDoc\n\n Documentation/.gitignore        |   1 +\n Documentation/Makefile          |   6 +\n Documentation/SubmittingPatches | 331 +++++++++++++++++++++-------------------\n 3 files changed, 184 insertions(+), 154 deletions(-)\n"},{"id":"331296","messageId":"20171029211308.272673-2-sandals@crustytoothpaste.net","threadId":"47065","inReplyTo":"20171029211308.272673-1-sandals@crustytoothpaste.net","subject":"[PATCH 1/2] Documentation: enable compat-mode for Asciidoctor","fromName":"brian m. carlson","fromEmail":"sandals@crustytoothpaste.net","sentAt":"2017-10-29T21:13:07Z","receivedAt":"2017-10-29T21:19:32Z","isPatch":true,"sender":{"key":"sandals@crustytoothpaste.net","avatar":"https://avatars.githubusercontent.com/u/497054?v=4"},"body":"Asciidoctor 1.5.0 and later have a compatibility mode that makes it more\ncompatible with some Asciidoc syntax, notably the single and double\nquote handling.  While this doesn't affect any of our current\ndocumentation, it would be beneficial to enable this mode to reduce the\ndifferences between AsciiDoc and Asciidoctor if we make use of those\nfeatures in the future.\n\nSince this mode is specified as an attribute, if a version of\nAsciidoctor doesn't understand it, it will simply be ignored.\n\nSigned-off-by: brian m. carlson <sandals@crustytoothpaste.net>\n---\n Documentation/Makefile | 1 +\n 1 file changed, 1 insertion(+)\n\ndiff --git a/Documentation/Makefile b/Documentation/Makefile\nindex 471bb29725..d5ad85459e 100644\n--- a/Documentation/Makefile\n+++ b/Documentation/Makefile\n@@ -181,6 +181,7 @@ ASCIIDOC = asciidoctor\n ASCIIDOC_CONF =\n ASCIIDOC_HTML = xhtml5\n ASCIIDOC_DOCBOOK = docbook45\n+ASCIIDOC_EXTRA += -acompat-mode\n ASCIIDOC_EXTRA += -I. -rasciidoctor-extensions\n ASCIIDOC_EXTRA += -alitdd='&\\#x2d;&\\#x2d;'\n DBLATEX_COMMON =\n"},{"id":"331297","messageId":"20171029211308.272673-3-sandals@crustytoothpaste.net","threadId":"47065","inReplyTo":"20171029211308.272673-1-sandals@crustytoothpaste.net","subject":"[PATCH 2/2] Documentation: convert SubmittingPatches to AsciiDoc","fromName":"brian m. carlson","fromEmail":"sandals@crustytoothpaste.net","sentAt":"2017-10-29T21:13:08Z","receivedAt":"2017-10-29T21:19:40Z","isPatch":true,"sender":{"key":"sandals@crustytoothpaste.net","avatar":"https://avatars.githubusercontent.com/u/497054?v=4"},"body":"The SubmittingPatches document is often cited by outside parties as an\nexample of good practices to follow, including logical, independent\ncommits; patch sign-offs; and sending patches to a mailing list.\nCurrently, people who want to cite a particular section tend to either\nrefer to it by name and let the interested party search through the\ndocument to find it, or link to a given line number on GitHub and hope\nthe file doesn't change.\n\nInstead, convert the document to AsciiDoc.  Build it as part of the\ntechnical documentation, since it is likely of interest to the same\ngroup of people.  Provide stable links to the sections which outside\nparties are likely to want to link to.  Make some minor structural\nchanges to organize it so that it can be formatted sanely.\n\nSince the makefile needs a .txt extension in order to build with the\nrest of the documentation, simply copy the file.  Ignore the temporary\nfile so it doesn't get checked in accidentally, and remove it as part of\nthe clean process.  Do this instead of renaming the file so that people\nwho have already linked to the documentation (who we're trying to help)\ndon't find their links broken.  Avoid symlinking since Windows will not\nlike that.\n\nThis allows us to render the document as part of the website for the\nbenefit of others who wish to link to it as well as providing a more\nnicely formatted display for our community and potential contributors.\n\nSigned-off-by: brian m. carlson <sandals@crustytoothpaste.net>\n---\n Documentation/.gitignore        |   1 +\n Documentation/Makefile          |   5 +\n Documentation/SubmittingPatches | 331 +++++++++++++++++++++-------------------\n 3 files changed, 183 insertions(+), 154 deletions(-)\n\ndiff --git a/Documentation/.gitignore b/Documentation/.gitignore\nindex 2c8b2d612e..c7096f11f1 100644\n--- a/Documentation/.gitignore\n+++ b/Documentation/.gitignore\n@@ -11,3 +11,4 @@ doc.dep\n cmds-*.txt\n mergetools-*.txt\n manpage-base-url.xsl\n+SubmittingPatches.txt\ndiff --git a/Documentation/Makefile b/Documentation/Makefile\nindex d5ad85459e..2ab65561af 100644\n--- a/Documentation/Makefile\n+++ b/Documentation/Makefile\n@@ -67,6 +67,7 @@ SP_ARTICLES += howto/maintain-git\n API_DOCS = $(patsubst %.txt,%,$(filter-out technical/api-index-skel.txt technical/api-index.txt, $(wildcard technical/api-*.txt)))\n SP_ARTICLES += $(API_DOCS)\n \n+TECH_DOCS += SubmittingPatches\n TECH_DOCS += technical/hash-function-transition\n TECH_DOCS += technical/http-protocol\n TECH_DOCS += technical/index-format\n@@ -324,6 +325,7 @@ clean:\n \t$(RM) *.pdf\n \t$(RM) howto-index.txt howto/*.html doc.dep\n \t$(RM) technical/*.html technical/api-index.txt\n+\t$(RM) SubmittingPatches.txt\n \t$(RM) $(cmds_txt) $(mergetools_txt) *.made\n \t$(RM) manpage-base-url.xsl\n \n@@ -362,6 +364,9 @@ technical/%.html: ASCIIDOC_EXTRA += -a git-relative-html-prefix=../\n $(patsubst %,%.html,$(API_DOCS) technical/api-index $(TECH_DOCS)): %.html : %.txt asciidoc.conf\n \t$(QUIET_ASCIIDOC)$(TXT_TO_HTML) $*.txt\n \n+SubmittingPatches.txt: SubmittingPatches\n+\t$(QUIET_GEN) cp $< $@\n+\n XSLT = docbook.xsl\n XSLTOPTS = --xinclude --stringparam html.stylesheet docbook-xsl.css\n \ndiff --git a/Documentation/SubmittingPatches b/Documentation/SubmittingPatches\nindex 558d465b65..33fa7a3013 100644\n--- a/Documentation/SubmittingPatches\n+++ b/Documentation/SubmittingPatches\n@@ -1,40 +1,47 @@\n+Submitting Patches\n+==================\n+\n+== Guidelines\n+\n Here are some guidelines for people who want to contribute their code\n to this software.\n \n-(0) Decide what to base your work on.\n+[[base-branch]]\n+=== Decide what to base your work on.\n \n In general, always base your work on the oldest branch that your\n change is relevant to.\n \n- - A bugfix should be based on 'maint' in general. If the bug is not\n-   present in 'maint', base it on 'master'. For a bug that's not yet\n-   in 'master', find the topic that introduces the regression, and\n-   base your work on the tip of the topic.\n+* A bugfix should be based on `maint` in general. If the bug is not\n+  present in `maint`, base it on `master`. For a bug that's not yet\n+  in `master`, find the topic that introduces the regression, and\n+  base your work on the tip of the topic.\n \n- - A new feature should be based on 'master' in general. If the new\n-   feature depends on a topic that is in 'pu', but not in 'master',\n-   base your work on the tip of that topic.\n+* A new feature should be based on `master` in general. If the new\n+  feature depends on a topic that is in `pu`, but not in `master`,\n+  base your work on the tip of that topic.\n \n- - Corrections and enhancements to a topic not yet in 'master' should\n-   be based on the tip of that topic. If the topic has not been merged\n-   to 'next', it's alright to add a note to squash minor corrections\n-   into the series.\n+* Corrections and enhancements to a topic not yet in `master` should\n+  be based on the tip of that topic. If the topic has not been merged\n+  to `next`, it's alright to add a note to squash minor corrections\n+  into the series.\n \n- - In the exceptional case that a new feature depends on several topics\n-   not in 'master', start working on 'next' or 'pu' privately and send\n-   out patches for discussion. Before the final merge, you may have to\n-   wait until some of the dependent topics graduate to 'master', and\n-   rebase your work.\n+* In the exceptional case that a new feature depends on several topics\n+  not in `master`, start working on `next` or `pu` privately and send\n+  out patches for discussion. Before the final merge, you may have to\n+  wait until some of the dependent topics graduate to `master`, and\n+  rebase your work.\n \n- - Some parts of the system have dedicated maintainers with their own\n-   repositories (see the section \"Subsystems\" below).  Changes to\n-   these parts should be based on their trees.\n+* Some parts of the system have dedicated maintainers with their own\n+  repositories (see the section \"Subsystems\" below).  Changes to\n+  these parts should be based on their trees.\n \n-To find the tip of a topic branch, run \"git log --first-parent\n-master..pu\" and look for the merge commit. The second parent of this\n+To find the tip of a topic branch, run `git log --first-parent\n+master..pu` and look for the merge commit. The second parent of this\n commit is the tip of the topic branch.\n \n-(1) Make separate commits for logically separate changes.\n+[[separate-commits]]\n+=== Make separate commits for logically separate changes.\n \n Unless your patch is really trivial, you should not be sending\n out a patch that was generated between your working tree and\n@@ -58,8 +65,9 @@ differs substantially from the prior version, are all good things\n to have.\n \n Make sure that you have tests for the bug you are fixing.  See\n-t/README for guidance.\n+'t/README' for guidance.\n \n+[[tests]]\n When adding a new feature, make sure that you have new tests to show\n the feature triggers the new behavior when it should, and to show the\n feature does not trigger when it shouldn't.  After any code change, make\n@@ -84,41 +92,45 @@ turning en_UK spelling to en_US).  Obvious typographical fixes are much\n more welcomed (\"teh -> \"the\"), preferably submitted as independent\n patches separate from other documentation changes.\n \n+[[whitespace-check]]\n Oh, another thing.  We are picky about whitespaces.  Make sure your\n changes do not trigger errors with the sample pre-commit hook shipped\n-in templates/hooks--pre-commit.  To help ensure this does not happen,\n-run \"git diff --check\" on your changes before you commit.\n+in templates/hooks{litdd}pre-commit.  To help ensure this does not happen,\n+run `git diff --check` on your changes before you commit.\n \n-\n-(2) Describe your changes well.\n+[[describe-changes]]\n+=== Describe your changes well.\n \n The first line of the commit message should be a short description (50\n-characters is the soft limit, see DISCUSSION in git-commit(1)), and\n-should skip the full stop.  It is also conventional in most cases to\n+characters is the soft limit, see DISCUSSION in linkgit:git-commit[1]),\n+and should skip the full stop.  It is also conventional in most cases to\n prefix the first line with \"area: \" where the area is a filename or\n identifier for the general area of the code being modified, e.g.\n \n-  . doc: clarify distinction between sign-off and pgp-signing\n-  . githooks.txt: improve the intro section\n+* doc: clarify distinction between sign-off and pgp-signing\n+* githooks.txt: improve the intro section\n \n-If in doubt which identifier to use, run \"git log --no-merges\" on the\n+If in doubt which identifier to use, run `git log --no-merges` on the\n files you are modifying to see the current conventions.\n \n+[[summary-section]]\n It's customary to start the remainder of the first line after \"area: \"\n with a lower-case letter. E.g. \"doc: clarify...\", not \"doc:\n Clarify...\", or \"githooks.txt: improve...\", not \"githooks.txt:\n Improve...\".\n \n+[[meaningful-message]]\n The body should provide a meaningful commit message, which:\n \n-  . explains the problem the change tries to solve, i.e. what is wrong\n-    with the current code without the change.\n+. explains the problem the change tries to solve, i.e. what is wrong\n+  with the current code without the change.\n \n-  . justifies the way the change solves the problem, i.e. why the\n-    result with the change is better.\n+. justifies the way the change solves the problem, i.e. why the\n+  result with the change is better.\n \n-  . alternate solutions considered but discarded, if any.\n+. alternate solutions considered but discarded, if any.\n \n+[[imperative-mood]]\n Describe your changes in imperative mood, e.g. \"make xyzzy do frotz\"\n instead of \"[This patch] makes xyzzy do frotz\" or \"[I] changed xyzzy\n to do frotz\", as if you are giving orders to the codebase to change\n@@ -126,26 +138,33 @@ its behavior.  Try to make sure your explanation can be understood\n without external resources. Instead of giving a URL to a mailing list\n archive, summarize the relevant points of the discussion.\n \n+[[commit-reference]]\n If you want to reference a previous commit in the history of a stable\n branch, use the format \"abbreviated sha1 (subject, date)\",\n with the subject enclosed in a pair of double-quotes, like this:\n \n-    Commit f86a374 (\"pack-bitmap.c: fix a memleak\", 2015-03-30)\n-    noticed that ...\n+....\n+\tCommit f86a374 (\"pack-bitmap.c: fix a memleak\", 2015-03-30)\n+\tnoticed that ...\n+....\n \n The \"Copy commit summary\" command of gitk can be used to obtain this\n-format, or this invocation of \"git show\":\n+format, or this invocation of `git show`:\n \n-    git show -s --date=short --pretty='format:%h (\"%s\", %ad)' <commit>\n+....\n+\tgit show -s --date=short --pretty='format:%h (\"%s\", %ad)' <commit>\n+....\n \n-(3) Generate your patch using Git tools out of your commits.\n+[[git-tools]]\n+=== Generate your patch using Git tools out of your commits.\n \n Git based diff tools generate unidiff which is the preferred format.\n \n-You do not have to be afraid to use -M option to \"git diff\" or\n-\"git format-patch\", if your patch involves file renames.  The\n+You do not have to be afraid to use `-M` option to `git diff` or\n+`git format-patch`, if your patch involves file renames.  The\n receiving end can handle them just fine.\n \n+[[review-patch]]\n Please make sure your patch does not add commented out debugging code,\n or include any extra files which do not relate to what your patch\n is trying to achieve. Make sure to review\n@@ -154,8 +173,10 @@ sending out, please make sure it cleanly applies to the \"master\"\n branch head.  If you are preparing a work based on \"next\" branch,\n that is fine, but please mark it as such.\n \n-\n-(4) Sending your patches.\n+[[send-patches]]\n+=== Sending your patches.\n+:1: footnote:[The current maintainer: gitster@pobox.com]\n+:2: footnote:[The mailing list: git@vger.kernel.org]\n \n Learn to use format-patch and send-email if possible.  These commands\n are optimized for the workflow of sending patches, avoiding many ways\n@@ -191,7 +212,7 @@ not ready to be applied but it is for discussion, [PATCH v2],\n [PATCH v3] etc. are often seen when you are sending an update to\n what you have previously sent.\n \n-\"git format-patch\" command follows the best current practice to\n+`git format-patch` command follows the best current practice to\n format the body of an e-mail message.  At the beginning of the\n patch should come your commit message, ending with the\n Signed-off-by: lines, and a line that consists of three dashes,\n@@ -208,6 +229,7 @@ an explanation of changes between each iteration can be kept in\n Git-notes and inserted automatically following the three-dash\n line via `git format-patch --notes`.\n \n+[[attachment]]\n Do not attach the patch as a MIME attachment, compressed or not.\n Do not let your e-mail client send quoted-printable.  Do not let\n your e-mail client send format=flowed which would destroy\n@@ -222,6 +244,7 @@ that it will be postponed.\n Exception:  If your mailer is mangling patches then someone may ask\n you to re-send them using MIME, that is OK.\n \n+[[pgp-signature]]\n Do not PGP sign your patch. Most likely, your maintainer or other people on the\n list would not have your PGP key and would not bother obtaining it anyway.\n Your patch is not judged by who you are; a good patch from an unknown origin\n@@ -230,28 +253,24 @@ origin that is done poorly or does incorrect things.\n \n If you really really really really want to do a PGP signed\n patch, format it as \"multipart/signed\", not a text/plain message\n-that starts with '-----BEGIN PGP SIGNED MESSAGE-----'.  That is\n+that starts with `-----BEGIN PGP SIGNED MESSAGE-----`.  That is\n not a text/plain, it's something else.\n \n Send your patch with \"To:\" set to the mailing list, with \"cc:\" listing\n people who are involved in the area you are touching (the output from\n-\"git blame $path\" and \"git shortlog --no-merges $path\" would help to\n++git blame _$path_+ and +git shortlog {litdd}no-merges _$path_+ would help to\n identify them), to solicit comments and reviews.\n \n After the list reached a consensus that it is a good idea to apply the\n-patch, re-send it with \"To:\" set to the maintainer [*1*] and \"cc:\" the\n-list [*2*] for inclusion.\n+patch, re-send it with \"To:\" set to the maintainer{1} and \"cc:\" the\n+list{2} for inclusion.\n \n Do not forget to add trailers such as \"Acked-by:\", \"Reviewed-by:\" and\n \"Tested-by:\" lines as necessary to credit people who helped your\n patch.\n \n-    [Addresses]\n-     *1* The current maintainer: gitster@pobox.com\n-     *2* The mailing list: git@vger.kernel.org\n-\n-\n-(5) Certify your work by adding your \"Signed-off-by: \" line\n+[[sign-off]]\n+=== Certify your work by adding your \"Signed-off-by: \" line\n \n To improve tracking of who did what, we've borrowed the\n \"sign-off\" procedure from the Linux kernel project on patches\n@@ -263,35 +282,39 @@ the patch, which certifies that you wrote it or otherwise have\n the right to pass it on as a open-source patch.  The rules are\n pretty simple: if you can certify the below D-C-O:\n \n-        Developer's Certificate of Origin 1.1\n+[[dco]]\n+.Developer's Certificate of Origin 1.1\n+____\n+By making a contribution to this project, I certify that:\n \n-        By making a contribution to this project, I certify that:\n+a. The contribution was created in whole or in part by me and I\n+   have the right to submit it under the open source license\n+   indicated in the file; or\n \n-        (a) The contribution was created in whole or in part by me and I\n-            have the right to submit it under the open source license\n-            indicated in the file; or\n+b. The contribution is based upon previous work that, to the best\n+   of my knowledge, is covered under an appropriate open source\n+   license and I have the right under that license to submit that\n+   work with modifications, whether created in whole or in part\n+   by me, under the same open source license (unless I am\n+   permitted to submit under a different license), as indicated\n+   in the file; or\n \n-        (b) The contribution is based upon previous work that, to the best\n-            of my knowledge, is covered under an appropriate open source\n-            license and I have the right under that license to submit that\n-            work with modifications, whether created in whole or in part\n-            by me, under the same open source license (unless I am\n-            permitted to submit under a different license), as indicated\n-            in the file; or\n+c. The contribution was provided directly to me by some other\n+   person who certified (a), (b) or (c) and I have not modified\n+   it.\n \n-        (c) The contribution was provided directly to me by some other\n-            person who certified (a), (b) or (c) and I have not modified\n-            it.\n-\n-        (d) I understand and agree that this project and the contribution\n-            are public and that a record of the contribution (including all\n-            personal information I submit with it, including my sign-off) is\n-            maintained indefinitely and may be redistributed consistent with\n-            this project or the open source license(s) involved.\n+d. I understand and agree that this project and the contribution\n+   are public and that a record of the contribution (including all\n+   personal information I submit with it, including my sign-off) is\n+   maintained indefinitely and may be redistributed consistent with\n+   this project or the open source license(s) involved.\n+____\n \n then you just add a line saying\n \n-        Signed-off-by: Random J Developer <random@developer.example.org>\n+....\n+\tSigned-off-by: Random J Developer <random@developer.example.org>\n+....\n \n This line can be automatically added by Git if you run the git-commit\n command with the -s option.\n@@ -302,85 +325,86 @@ D-C-O.  Indeed you are encouraged to do so.  Do not forget to\n place an in-body \"From: \" line at the beginning to properly attribute\n the change to its true author (see (2) above).\n \n+[[real-name]]\n Also notice that a real name is used in the Signed-off-by: line. Please\n don't hide your real name.\n \n+[[commit-trailers]]\n If you like, you can put extra tags at the end:\n \n-1. \"Reported-by:\" is used to credit someone who found the bug that\n-   the patch attempts to fix.\n-2. \"Acked-by:\" says that the person who is more familiar with the area\n-   the patch attempts to modify liked the patch.\n-3. \"Reviewed-by:\", unlike the other tags, can only be offered by the\n-   reviewer and means that she is completely satisfied that the patch\n-   is ready for application.  It is usually offered only after a\n-   detailed review.\n-4. \"Tested-by:\" is used to indicate that the person applied the patch\n-   and found it to have the desired effect.\n+. \"Reported-by:\" is used to credit someone who found the bug that\n+  the patch attempts to fix.\n+. \"Acked-by:\" says that the person who is more familiar with the area\n+  the patch attempts to modify liked the patch.\n+. \"Reviewed-by:\", unlike the other tags, can only be offered by the\n+  reviewer and means that she is completely satisfied that the patch\n+  is ready for application.  It is usually offered only after a\n+  detailed review.\n+. \"Tested-by:\" is used to indicate that the person applied the patch\n+  and found it to have the desired effect.\n \n You can also create your own tag or use one that's in common usage\n such as \"Thanks-to:\", \"Based-on-patch-by:\", or \"Mentored-by:\".\n \n-------------------------------------------------\n-Subsystems with dedicated maintainers\n+== Subsystems with dedicated maintainers\n \n Some parts of the system have dedicated maintainers with their own\n repositories.\n \n- - git-gui/ comes from git-gui project, maintained by Pat Thoyts:\n+- 'git-gui/' comes from git-gui project, maintained by Pat Thoyts:\n \n-        git://repo.or.cz/git-gui.git\n+\tgit://repo.or.cz/git-gui.git\n \n- - gitk-git/ comes from Paul Mackerras's gitk project:\n+- 'gitk-git/' comes from Paul Mackerras's gitk project:\n \n-        git://ozlabs.org/~paulus/gitk\n+\tgit://ozlabs.org/~paulus/gitk\n \n- - po/ comes from the localization coordinator, Jiang Xin:\n+- 'po/' comes from the localization coordinator, Jiang Xin:\n \n \thttps://github.com/git-l10n/git-po/\n \n Patches to these parts should be based on their trees.\n \n-------------------------------------------------\n-An ideal patch flow\n+[[patch-flow]]\n+== An ideal patch flow\n \n Here is an ideal patch flow for this project the current maintainer\n suggests to the contributors:\n \n- (0) You come up with an itch.  You code it up.\n+. You come up with an itch.  You code it up.\n \n- (1) Send it to the list and cc people who may need to know about\n-     the change.\n+. Send it to the list and cc people who may need to know about\n+  the change.\n++\n+The people who may need to know are the ones whose code you\n+are butchering.  These people happen to be the ones who are\n+most likely to be knowledgeable enough to help you, but\n+they have no obligation to help you (i.e. you ask for help,\n+don't demand).  +git log -p {litdd} _$area_you_are_modifying_+ would\n+help you find out who they are.\n \n-     The people who may need to know are the ones whose code you\n-     are butchering.  These people happen to be the ones who are\n-     most likely to be knowledgeable enough to help you, but\n-     they have no obligation to help you (i.e. you ask for help,\n-     don't demand).  \"git log -p -- $area_you_are_modifying\" would\n-     help you find out who they are.\n+. You get comments and suggestions for improvements.  You may\n+  even get them in a \"on top of your change\" patch form.\n \n- (2) You get comments and suggestions for improvements.  You may\n-     even get them in a \"on top of your change\" patch form.\n+. Polish, refine, and re-send to the list and the people who\n+  spend their time to improve your patch.  Go back to step (2).\n \n- (3) Polish, refine, and re-send to the list and the people who\n-     spend their time to improve your patch.  Go back to step (2).\n+. The list forms consensus that the last round of your patch is\n+  good.  Send it to the maintainer and cc the list.\n \n- (4) The list forms consensus that the last round of your patch is\n-     good.  Send it to the maintainer and cc the list.\n-\n- (5) A topic branch is created with the patch and is merged to 'next',\n-     and cooked further and eventually graduates to 'master'.\n+. A topic branch is created with the patch and is merged to `next`,\n+  and cooked further and eventually graduates to `master`.\n \n In any time between the (2)-(3) cycle, the maintainer may pick it up\n-from the list and queue it to 'pu', in order to make it easier for\n+from the list and queue it to `pu`, in order to make it easier for\n people play with it without having to pick up and apply the patch to\n their trees themselves.\n \n-------------------------------------------------\n-Know the status of your patch after submission\n+[[patch-status]]\n+== Know the status of your patch after submission\n \n * You can use Git itself to find out when your patch is merged in\n-  master. 'git pull --rebase' will automatically skip already-applied\n+  master. `git pull --rebase` will automatically skip already-applied\n   patches, and will let you know. This works only if you rebase on top\n   of the branch in which your patch has been merged (i.e. it will not\n   tell you if your patch is merged in pu if you rebase on top of\n@@ -390,8 +414,8 @@ Know the status of your patch after submission\n   entitled \"What's cooking in git.git\" and \"What's in git.git\" giving\n   the status of various proposed changes.\n \n---------------------------------------------------\n-GitHub-Travis CI hints\n+[[travis]]\n+== GitHub-Travis CI hints\n \n With an account at GitHub (you can get one for free to work on open\n source projects), you can use Travis CI to test your changes on Linux,\n@@ -400,25 +424,25 @@ test build here: https://travis-ci.org/git/git/builds/120473209\n \n Follow these steps for the initial setup:\n \n- (1) Fork https://github.com/git/git to your GitHub account.\n-     You can find detailed instructions how to fork here:\n-     https://help.github.com/articles/fork-a-repo/\n+. Fork https://github.com/git/git to your GitHub account.\n+  You can find detailed instructions how to fork here:\n+  https://help.github.com/articles/fork-a-repo/\n \n- (2) Open the Travis CI website: https://travis-ci.org\n+. Open the Travis CI website: https://travis-ci.org\n \n- (3) Press the \"Sign in with GitHub\" button.\n+. Press the \"Sign in with GitHub\" button.\n \n- (4) Grant Travis CI permissions to access your GitHub account.\n-     You can find more information about the required permissions here:\n-     https://docs.travis-ci.com/user/github-oauth-scopes\n+. Grant Travis CI permissions to access your GitHub account.\n+  You can find more information about the required permissions here:\n+  https://docs.travis-ci.com/user/github-oauth-scopes\n \n- (5) Open your Travis CI profile page: https://travis-ci.org/profile\n+. Open your Travis CI profile page: https://travis-ci.org/profile\n \n- (6) Enable Travis CI builds for your Git fork.\n+. Enable Travis CI builds for your Git fork.\n \n After the initial setup, Travis CI will run whenever you push new changes\n to your fork of Git on GitHub.  You can monitor the test state of all your\n-branches here: https://travis-ci.org/<Your GitHub handle>/git/branches\n+branches here: https://travis-ci.org/__<Your GitHub handle>__/git/branches\n \n If a branch did not pass all test cases then it is marked with a red\n cross.  In that case you can click on the failing Travis CI job and\n@@ -430,17 +454,16 @@ example: https://travis-ci.org/git/git/jobs/122676187\n Fix the problem and push your fix to your Git fork.  This will trigger\n a new Travis CI build to ensure all tests pass.\n \n-\n-------------------------------------------------\n-MUA specific hints\n+[[mua]]\n+== MUA specific hints\n \n Some of patches I receive or pick up from the list share common\n patterns of breakage.  Please make sure your MUA is set up\n properly not to corrupt whitespaces.\n \n-See the DISCUSSION section of git-format-patch(1) for hints on\n+See the DISCUSSION section of linkgit:git-format-patch[1] for hints on\n checking your patch by mailing it to yourself and applying with\n-git-am(1).\n+linkgit:git-am[1].\n \n While you are at it, check the resulting commit log message from\n a trial run of applying the patch.  If what is in the resulting\n@@ -452,23 +475,24 @@ should come after the three-dash line that signals the end of the\n commit message.\n \n \n-Pine\n-----\n+=== Pine\n \n (Johannes Schindelin)\n \n+....\n I don't know how many people still use pine, but for those poor\n souls it may be good to mention that the quell-flowed-text is\n needed for recent versions.\n \n ... the \"no-strip-whitespace-before-send\" option, too. AFAIK it\n was introduced in 4.60.\n+....\n \n (Linus Torvalds)\n \n And 4.58 needs at least this.\n \n----\n+....\n diff-tree 8326dd8350be64ac7fc805f6563a1d61ad10d32c (from e886a61f76edf5410573e92e38ce22974f9c40f1)\n Author: Linus Torvalds <torvalds@g5.osdl.org>\n Date:   Mon Aug 15 17:23:51 2005 -0700\n@@ -490,10 +514,11 @@ diff --git a/pico/pico.c b/pico/pico.c\n +#endif\n \t\tc |= COMP_EXIT;\n \t\tbreak;\n-\n+....\n \n (Daniel Barkalow)\n \n+....\n > A patch to SubmittingPatches, MUA specific help section for\n > users of Pine 4.63 would be very much appreciated.\n \n@@ -503,23 +528,21 @@ that or Gentoo did it.) So you need to set the\n \"no-strip-whitespace-before-send\" option, unless the option you have is\n \"strip-whitespace-before-send\", in which case you should avoid checking\n it.\n+....\n \n+=== Thunderbird, KMail, GMail\n \n-Thunderbird, KMail, GMail\n--------------------------\n+See the MUA-SPECIFIC HINTS section of linkgit:git-format-patch[1].\n \n-See the MUA-SPECIFIC HINTS section of git-format-patch(1).\n+=== Gnus\n \n-Gnus\n-----\n-\n-'|' in the *Summary* buffer can be used to pipe the current\n+\"|\" in the `*Summary*` buffer can be used to pipe the current\n message to an external program, and this is a handy way to drive\n-\"git am\".  However, if the message is MIME encoded, what is\n+`git am`.  However, if the message is MIME encoded, what is\n piped into the program is the representation you see in your\n-*Article* buffer after unwrapping MIME.  This is often not what\n+`*Article*` buffer after unwrapping MIME.  This is often not what\n you would want for two reasons.  It tends to screw up non ASCII\n characters (most notably in people's names), and also\n-whitespaces (fatal in patches).  Running 'C-u g' to display the\n-message in raw form before using '|' to run the pipe can work\n+whitespaces (fatal in patches).  Running \"C-u g\" to display the\n+message in raw form before using \"|\" to run the pipe can work\n this problem around.\n"},{"id":"331325","messageId":"xmqqa8096yzu.fsf@gitster.mtv.corp.google.com","threadId":"47065","inReplyTo":"20171029211308.272673-3-sandals@crustytoothpaste.net","subject":"Re: [PATCH 2/2] Documentation: convert SubmittingPatches to AsciiDoc","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2017-10-30T04:28:05Z","receivedAt":"2017-10-30T04:28:12Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"\"brian m. carlson\" <sandals@crustytoothpaste.net> writes:\n\nThanks.  I personally prefer the plain-text original, but I do\nunderstand the need to have a version with ids that you can tell\nothers to visit in their browsers.  Assuming that this goes in the\nright direction, here are a few comments.\n\n> @@ -58,8 +65,9 @@ differs substantially from the prior version, are all good things\n>  to have.\n>  \n>  Make sure that you have tests for the bug you are fixing.  See\n> -t/README for guidance.\n> +'t/README' for guidance.\n\nI am guessing that, from the way you updated 'next' to `next'\netc. in the previous hunk, you are typesetting in <tt> anything a\nreader may type literally without substitution.\n\nShould this be `t/README`, as it is a part of something a reader may\ntype literally (as in \"less t/README\")?\n\n> @@ -84,41 +92,45 @@ turning en_UK spelling to en_US).  Obvious typographical fixes are much\n> ...\n>  changes do not trigger errors with the sample pre-commit hook shipped\n> -in templates/hooks--pre-commit.  To help ensure this does not happen,\n> -run \"git diff --check\" on your changes before you commit.\n> +in templates/hooks{litdd}pre-commit.  To help ensure this does not happen,\n> +run `git diff --check` on your changes before you commit.\n\nThe pathname templates/hooks--pre-commit is typeset just like any\nbody text?\n\n> @@ -154,8 +173,10 @@ sending out, please make sure it cleanly applies to the \"master\"\n\nOut of context, but \"master\" we see above should probably be\n`master` here, to be in line with what you did in an earlier hunk.\nSo should \"next\" we see below in the pre-context of this hunk.\n\n> -(4) Sending your patches.\n> +[[send-patches]]\n> +=== Sending your patches.\n> +:1: footnote:[The current maintainer: gitster@pobox.com]\n> +:2: footnote:[The mailing list: git@vger.kernel.org]\n\nHaving to see these footnotes upfront is somewhat distracting for\nthose of us who prefer to use this file as a text document.  I see\nthese become part of the footnotes section at the very end of the\ndocument (as opposed to the end of this section), so even with the\nrendered output it does not look ideal.\n\nI am not sure how much these two points matter, though.\n\n> @@ -191,7 +212,7 @@ not ready to be applied but it is for discussion, [PATCH v2],\n> ..\n>  Send your patch with \"To:\" set to the mailing list, with \"cc:\" listing\n>  people who are involved in the area you are touching (the output from\n> -\"git blame $path\" and \"git shortlog --no-merges $path\" would help to\n> ++git blame _$path_+ and +git shortlog {litdd}no-merges _$path_+ would help to\n>  identify them), to solicit comments and reviews.\n\nThe +fixed width with _italics_ mixed in+ mark-up is something not\nexactly new, but it is rarely used in our documentation set, so I\nhad to double check by actually seeing how it got rendered, and it\nlooked alright.\n\n>  After the list reached a consensus that it is a good idea to apply the\n> -patch, re-send it with \"To:\" set to the maintainer [*1*] and \"cc:\" the\n> -list [*2*] for inclusion.\n> +patch, re-send it with \"To:\" set to the maintainer{1} and \"cc:\" the\n> +list{2} for inclusion.\n>  \n>  Do not forget to add trailers such as \"Acked-by:\", \"Reviewed-by:\" and\n>  \"Tested-by:\" lines as necessary to credit people who helped your\n>  patch.\n\nShould these \"Foo-by:\" all be `Foo-by:`?\n\n> @@ -302,85 +325,86 @@ D-C-O.  Indeed you are encouraged to do so.  Do not forget to\n> ...\n> +. \"Reported-by:\" is used to credit someone who found the bug that\n> +  the patch attempts to fix.\n> +. \"Acked-by:\" says that the person who is more familiar with the area\n> +  the patch attempts to modify liked the patch.\n> +. \"Reviewed-by:\", unlike the other tags, can only be offered by the\n> +  reviewer and means that she is completely satisfied that the patch\n> +  is ready for application.  It is usually offered only after a\n> +  detailed review.\n> +. \"Tested-by:\" is used to indicate that the person applied the patch\n> +  and found it to have the desired effect.\n\nDitto.\n\n> -An ideal patch flow\n> +[[patch-flow]]\n> +== An ideal patch flow\n>  \n>  Here is an ideal patch flow for this project the current maintainer\n>  suggests to the contributors:\n>  \n> - (0) You come up with an itch.  You code it up.\n> +. You come up with an itch.  You code it up.\n>  \n> - (1) Send it to the list and cc people who may need to know about\n> -     the change.\n> +. Send it to the list and cc people who may need to know about\n> +  the change.\n> ++\n> +The people who may need to know are the ones whose code you\n> +are butchering.  These people happen to be the ones who are\n> +most likely to be knowledgeable enough to help you, but\n> +they have no obligation to help you (i.e. you ask for help,\n> +don't demand).  +git log -p {litdd} _$area_you_are_modifying_+ would\n> +help you find out who they are.\n>  \n> -     The people who may need to know are the ones whose code you\n> -     are butchering.  These people happen to be the ones who are\n> -     most likely to be knowledgeable enough to help you, but\n> -     they have no obligation to help you (i.e. you ask for help,\n> -     don't demand).  \"git log -p -- $area_you_are_modifying\" would\n> -     help you find out who they are.\n> +. You get comments and suggestions for improvements.  You may\n> +  even get them in a \"on top of your change\" patch form.\n>  \n> - (2) You get comments and suggestions for improvements.  You may\n> -     even get them in a \"on top of your change\" patch form.\n> +. Polish, refine, and re-send to the list and the people who\n> +  spend their time to improve your patch.  Go back to step (2).\n\nNot a complaint, but it is a shame that we have to spell out (2)\neven though we are using auto-numbering feature here.\n\n>  \n> - (3) Polish, refine, and re-send to the list and the people who\n> -     spend their time to improve your patch.  Go back to step (2).\n> +. The list forms consensus that the last round of your patch is\n> +  good.  Send it to the maintainer and cc the list.\n>  \n> - (4) The list forms consensus that the last round of your patch is\n> -     good.  Send it to the maintainer and cc the list.\n> -\n\nBy the way, to those of us who are interested in \"readble diffs\" may\nfind this hunk a bit interesting to study.  We should be able to\npair \"-deleted\" blocks of lines with corresponding \"+added\" blocks\nmore sensibly.\n\n> @@ -452,23 +475,24 @@ should come after the three-dash line that signals the end of the\n> ...\n> +=== Pine\n>  \n>  (Johannes Schindelin)\n>  \n> +....\n>  I don't know how many people still use pine, but for those poor\n>  souls it may be good to mention that the quell-flowed-text is\n>  needed for recent versions.\n>  \n>  ... the \"no-strip-whitespace-before-send\" option, too. AFAIK it\n>  was introduced in 4.60.\n> +....\n>  (Linus Torvalds)\n>  \n>  And 4.58 needs at least this.\n\nThis line alone in the entire section for pine is done in regular\ntext, which looked somewhat strange.\n\n"},{"id":"331346","messageId":"alpine.DEB.2.21.1.1710301333420.6482@virtualbox","threadId":"47065","inReplyTo":"xmqqa8096yzu.fsf@gitster.mtv.corp.google.com","subject":"Re: [PATCH 2/2] Documentation: convert SubmittingPatches to AsciiDoc","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2017-10-30T12:35:19Z","receivedAt":"2017-10-30T12:35:38Z","isPatch":true,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi,\n\nOn Mon, 30 Oct 2017, Junio C Hamano wrote:\n\n> \"brian m. carlson\" <sandals@crustytoothpaste.net> writes:\n> \n> Thanks.  I personally prefer the plain-text original, but I do\n> understand the need to have a version with ids that you can tell\n> others to visit in their browsers.  Assuming that this goes in the\n> right direction, here are a few comments.\n\nIf you want to go into the direction of the web, AsciiDoc is actually the\nwrong choice IMO, and Markdown would be the right choice. Basically\neverybody on the web is either supporting Markdown or being asked by users\nto do so.\n\nAssuming that *that* is something we want to pursue, I would also suggest\nto move the man pages away from AsciiDoc to Markdown (using e.g.\n[ronn](https://rtomayko.github.io/ronn/ronn.1.html)).\n\nCiao,\nDscho\n"},{"id":"331393","messageId":"CAHVLzcnS6n_BODDo3wrBzNkpEPTYBLD0V51H4O10q82J=xYnqw@mail.gmail.com","threadId":"47065","inReplyTo":"alpine.DEB.2.21.1.1710301333420.6482@virtualbox","subject":"Re: [PATCH 2/2] Documentation: convert SubmittingPatches to AsciiDoc","fromName":"Paolo Ciarrocchi","fromEmail":"paolo.ciarrocchi@gmail.com","sentAt":"2017-10-30T17:40:07Z","receivedAt":"2017-10-30T17:40:34Z","isPatch":true,"sender":{"key":"paolo.ciarrocchi@gmail.com","avatar":null},"body":"On Mon, Oct 30, 2017 at 1:35 PM, Johannes Schindelin\n<Johannes.Schindelin@gmx.de> wrote:\n> Hi,\n>\n> On Mon, 30 Oct 2017, Junio C Hamano wrote:\n>\n>> \"brian m. carlson\" <sandals@crustytoothpaste.net> writes:\n>>\n>> Thanks.  I personally prefer the plain-text original, but I do\n>> understand the need to have a version with ids that you can tell\n>> others to visit in their browsers.  Assuming that this goes in the\n>> right direction, here are a few comments.\n>\n> If you want to go into the direction of the web, AsciiDoc is actually the\n> wrong choice IMO, and Markdown would be the right choice. Basically\n> everybody on the web is either supporting Markdown or being asked by users\n> to do so.\n>\n> Assuming that *that* is something we want to pursue, I would also suggest\n> to move the man pages away from AsciiDoc to Markdown (using e.g.\n> [ronn](https://rtomayko.github.io/ronn/ronn.1.html)).\n\nNitpick, the right URL is: https://rtomayko.github.io/ronn/ronn.1.html\nYou put an extra ')' at the end and therefore I've got a scaring 404 error :-)\n\nCiao,\n-- \nPaolo\n"},{"id":"331424","messageId":"20171030232426.mhghvjfqeujgsrfa@genre.crustytoothpaste.net","threadId":"47065","inReplyTo":"alpine.DEB.2.21.1.1710301333420.6482@virtualbox","subject":"Re: [PATCH 2/2] Documentation: convert SubmittingPatches to AsciiDoc","fromName":"brian m. carlson","fromEmail":"sandals@crustytoothpaste.net","sentAt":"2017-10-30T23:24:27Z","receivedAt":"2017-10-30T23:24:42Z","isPatch":true,"sender":{"key":"sandals@crustytoothpaste.net","avatar":"https://avatars.githubusercontent.com/u/497054?v=4"},"body":"On Mon, Oct 30, 2017 at 01:35:19PM +0100, Johannes Schindelin wrote:\n> If you want to go into the direction of the web, AsciiDoc is actually the\n> wrong choice IMO, and Markdown would be the right choice. Basically\n> everybody on the web is either supporting Markdown or being asked by users\n> to do so.\n> \n> Assuming that *that* is something we want to pursue, I would also suggest\n> to move the man pages away from AsciiDoc to Markdown (using e.g.\n> [ronn](https://rtomayko.github.io/ronn/ronn.1.html)).\n\nThe thing I really like about AsciiDoc is that it works well for a\nvariety of output formats.  Markdown is designed for HTML, and only\nHTML.  It may have converters to other formats, but then you can't use\nany extension mechanisms in HTML.  Markdown also lacks features that\nAsciiDoc has, like cross-references, named anchors, and the ability to\nwrite the linkgit syntax.\n\nAsciiDoc, via DocBook and the XSLT stylesheets, supports conversion to\nPDF, DVI, PS, and ePub, among others.  The things I'm seeing for\nMarkdown to PDF involve either Pandoc or a browser engine such as\nphantomjs.\n\nAlso, AsciiDoc has the benefit that it has only two implementations.\nMarkdown has so many variants that it's hard to write things like tables\nin a portable way, so we're going to have at least as many problems\n(between the website and the codebase) as we do now.\n-- \nbrian m. carlson / brian with sandals: Houston, Texas, US\nhttps://www.crustytoothpaste.net/~bmc | My opinion only\nOpenPGP: https://keybase.io/bk2204\n"},{"id":"331435","messageId":"20171031012710.jfemqb6ybiog4sbz@genre.crustytoothpaste.net","threadId":"47065","inReplyTo":"xmqqa8096yzu.fsf@gitster.mtv.corp.google.com","subject":"Re: [PATCH 2/2] Documentation: convert SubmittingPatches to AsciiDoc","fromName":"brian m. carlson","fromEmail":"sandals@crustytoothpaste.net","sentAt":"2017-10-31T01:27:11Z","receivedAt":"2017-10-31T01:27:25Z","isPatch":true,"sender":{"key":"sandals@crustytoothpaste.net","avatar":"https://avatars.githubusercontent.com/u/497054?v=4"},"body":"On Mon, Oct 30, 2017 at 01:28:05PM +0900, Junio C Hamano wrote:\n> \"brian m. carlson\" <sandals@crustytoothpaste.net> writes:\n> \n> Thanks.  I personally prefer the plain-text original, but I do\n> understand the need to have a version with ids that you can tell\n> others to visit in their browsers.  Assuming that this goes in the\n> right direction, here are a few comments.\n> \n> > @@ -58,8 +65,9 @@ differs substantially from the prior version, are all good things\n> >  to have.\n> >  \n> >  Make sure that you have tests for the bug you are fixing.  See\n> > -t/README for guidance.\n> > +'t/README' for guidance.\n> \n> I am guessing that, from the way you updated 'next' to `next'\n> etc. in the previous hunk, you are typesetting in <tt> anything a\n> reader may type literally without substitution.\n> \n> Should this be `t/README`, as it is a part of something a reader may\n> type literally (as in \"less t/README\")?\n\nSo this syntax provides italicized paths, but I agree that the <tt> is\nbetter here.  I'll make those changes throughout, and fix up the\ninstances of that you mentioned.\n\n> > -(4) Sending your patches.\n> > +[[send-patches]]\n> > +=== Sending your patches.\n> > +:1: footnote:[The current maintainer: gitster@pobox.com]\n> > +:2: footnote:[The mailing list: git@vger.kernel.org]\n> \n> Having to see these footnotes upfront is somewhat distracting for\n> those of us who prefer to use this file as a text document.  I see\n> these become part of the footnotes section at the very end of the\n> document (as opposed to the end of this section), so even with the\n> rendered output it does not look ideal.\n> \n> I am not sure how much these two points matter, though.\n\nAsciiDoc requires that the attributes appear before their references.  I\ncan move the attributes just before the paragraph they refer to, or I\ncan inline the footnotes.  I could also just turn them into links if\nthat works better.\n\nThis is actually one thing that I think Markdown does better.\n\n> > @@ -191,7 +212,7 @@ not ready to be applied but it is for discussion, [PATCH v2],\n> > ..\n> >  Send your patch with \"To:\" set to the mailing list, with \"cc:\" listing\n> >  people who are involved in the area you are touching (the output from\n> > -\"git blame $path\" and \"git shortlog --no-merges $path\" would help to\n> > ++git blame _$path_+ and +git shortlog {litdd}no-merges _$path_+ would help to\n> >  identify them), to solicit comments and reviews.\n> \n> The +fixed width with _italics_ mixed in+ mark-up is something not\n> exactly new, but it is rarely used in our documentation set, so I\n> had to double check by actually seeing how it got rendered, and it\n> looked alright.\n\nI thought it provided some hint to the reader that this wasn't meant to\nbe typed literally.  It's a preference of mine and I think it aids in\nreadability, but it can be changed if we want.\n\n> >  After the list reached a consensus that it is a good idea to apply the\n> > -patch, re-send it with \"To:\" set to the maintainer [*1*] and \"cc:\" the\n> > -list [*2*] for inclusion.\n> > +patch, re-send it with \"To:\" set to the maintainer{1} and \"cc:\" the\n> > +list{2} for inclusion.\n> >  \n> >  Do not forget to add trailers such as \"Acked-by:\", \"Reviewed-by:\" and\n> >  \"Tested-by:\" lines as necessary to credit people who helped your\n> >  patch.\n> \n> Should these \"Foo-by:\" all be `Foo-by:`?\n\nI'll make these changes as well.\n\n> > -An ideal patch flow\n> > +[[patch-flow]]\n> > +== An ideal patch flow\n> >  \n> >  Here is an ideal patch flow for this project the current maintainer\n> >  suggests to the contributors:\n> >  \n> > - (0) You come up with an itch.  You code it up.\n> > +. You come up with an itch.  You code it up.\n> >  \n> > - (1) Send it to the list and cc people who may need to know about\n> > -     the change.\n> > +. Send it to the list and cc people who may need to know about\n> > +  the change.\n> > ++\n> > +The people who may need to know are the ones whose code you\n> > +are butchering.  These people happen to be the ones who are\n> > +most likely to be knowledgeable enough to help you, but\n> > +they have no obligation to help you (i.e. you ask for help,\n> > +don't demand).  +git log -p {litdd} _$area_you_are_modifying_+ would\n> > +help you find out who they are.\n> >  \n> > -     The people who may need to know are the ones whose code you\n> > -     are butchering.  These people happen to be the ones who are\n> > -     most likely to be knowledgeable enough to help you, but\n> > -     they have no obligation to help you (i.e. you ask for help,\n> > -     don't demand).  \"git log -p -- $area_you_are_modifying\" would\n> > -     help you find out who they are.\n> > +. You get comments and suggestions for improvements.  You may\n> > +  even get them in a \"on top of your change\" patch form.\n> >  \n> > - (2) You get comments and suggestions for improvements.  You may\n> > -     even get them in a \"on top of your change\" patch form.\n> > +. Polish, refine, and re-send to the list and the people who\n> > +  spend their time to improve your patch.  Go back to step (2).\n> \n> Not a complaint, but it is a shame that we have to spell out (2)\n> even though we are using auto-numbering feature here.\n\nIt is.  I'll see if there's a way I can refer to an element of a list,\nbut I don't think there is.\n\n> > @@ -452,23 +475,24 @@ should come after the three-dash line that signals the end of the\n> > ...\n> > +=== Pine\n> >  \n> >  (Johannes Schindelin)\n> >  \n> > +....\n> >  I don't know how many people still use pine, but for those poor\n> >  souls it may be good to mention that the quell-flowed-text is\n> >  needed for recent versions.\n> >  \n> >  ... the \"no-strip-whitespace-before-send\" option, too. AFAIK it\n> >  was introduced in 4.60.\n> > +....\n> >  (Linus Torvalds)\n> >  \n> >  And 4.58 needs at least this.\n> \n> This line alone in the entire section for pine is done in regular\n> text, which looked somewhat strange.\n\nAh, yes.  I misinterpreted that as not being part of Linus's email, but\nI suppose it probably was.\n\nSince these are emails, I can turn them into quote blocks with\nattribution if that makes things more readable.\n-- \nbrian m. carlson / brian with sandals: Houston, Texas, US\nhttps://www.crustytoothpaste.net/~bmc | My opinion only\nOpenPGP: https://keybase.io/bk2204\n"},{"id":"331487","messageId":"alpine.DEB.2.21.1.1710311819590.6482@virtualbox","threadId":"47065","inReplyTo":"CAHVLzcnS6n_BODDo3wrBzNkpEPTYBLD0V51H4O10q82J=xYnqw@mail.gmail.com","subject":"Re: [PATCH 2/2] Documentation: convert SubmittingPatches to AsciiDoc","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2017-10-31T17:21:15Z","receivedAt":"2017-10-31T17:21:33Z","isPatch":true,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi Paolo,\n\nOn Mon, 30 Oct 2017, Paolo Ciarrocchi wrote:\n\n> On Mon, Oct 30, 2017 at 1:35 PM, Johannes Schindelin\n> <Johannes.Schindelin@gmx.de> wrote:\n> >\n> > On Mon, 30 Oct 2017, Junio C Hamano wrote:\n> >\n> >> \"brian m. carlson\" <sandals@crustytoothpaste.net> writes:\n> >>\n> >> Thanks.  I personally prefer the plain-text original, but I do\n> >> understand the need to have a version with ids that you can tell\n> >> others to visit in their browsers.  Assuming that this goes in the\n> >> right direction, here are a few comments.\n> >\n> > If you want to go into the direction of the web, AsciiDoc is actually the\n> > wrong choice IMO, and Markdown would be the right choice. Basically\n> > everybody on the web is either supporting Markdown or being asked by users\n> > to do so.\n> >\n> > Assuming that *that* is something we want to pursue, I would also suggest\n> > to move the man pages away from AsciiDoc to Markdown (using e.g.\n> > [ronn](https://rtomayko.github.io/ronn/ronn.1.html)).\n> \n> Nitpick, the right URL is: https://rtomayko.github.io/ronn/ronn.1.html\n> You put an extra ')' at the end and therefore I've got a scaring 404 error :-)\n\nThe first closing parenthesis closes the link associated with the label\n`ronn`, the second closing parenthesis closes the remark I started in the\nprevious line (beginning with the word \"using\").\n\nCiao,\nJohannes\n"},{"id":"331494","messageId":"CAHVLzckqV8+Bf91VsY95fo==97saHbq=R4xuCF0KX3FY8fgOwA@mail.gmail.com","threadId":"47065","inReplyTo":"alpine.DEB.2.21.1.1710311819590.6482@virtualbox","subject":"Re: [PATCH 2/2] Documentation: convert SubmittingPatches to AsciiDoc","fromName":"Paolo Ciarrocchi","fromEmail":"paolo.ciarrocchi@gmail.com","sentAt":"2017-10-31T18:07:52Z","receivedAt":"2017-10-31T18:08:18Z","isPatch":true,"sender":{"key":"paolo.ciarrocchi@gmail.com","avatar":null},"body":"On Tue, Oct 31, 2017 at 6:21 PM, Johannes Schindelin\n<Johannes.Schindelin@gmx.de> wrote:\n> Hi Paolo,\n>\n> On Mon, 30 Oct 2017, Paolo Ciarrocchi wrote:\n>\n>> On Mon, Oct 30, 2017 at 1:35 PM, Johannes Schindelin\n>> <Johannes.Schindelin@gmx.de> wrote:\n>> >\n>> > On Mon, 30 Oct 2017, Junio C Hamano wrote:\n>> >\n>> >> \"brian m. carlson\" <sandals@crustytoothpaste.net> writes:\n>> >>\n>> >> Thanks.  I personally prefer the plain-text original, but I do\n>> >> understand the need to have a version with ids that you can tell\n>> >> others to visit in their browsers.  Assuming that this goes in the\n>> >> right direction, here are a few comments.\n>> >\n>> > If you want to go into the direction of the web, AsciiDoc is actually the\n>> > wrong choice IMO, and Markdown would be the right choice. Basically\n>> > everybody on the web is either supporting Markdown or being asked by users\n>> > to do so.\n>> >\n>> > Assuming that *that* is something we want to pursue, I would also suggest\n>> > to move the man pages away from AsciiDoc to Markdown (using e.g.\n>> > [ronn](https://rtomayko.github.io/ronn/ronn.1.html)).\n>>\n>> Nitpick, the right URL is: https://rtomayko.github.io/ronn/ronn.1.html\n>> You put an extra ')' at the end and therefore I've got a scaring 404 error :-)\n>\n> The first closing parenthesis closes the link associated with the label\n> `ronn`, the second closing parenthesis closes the remark I started in the\n> previous line (beginning with the word \"using\").\n\n\nYou are right. I've got confused by the fact that gmail fails to\nproperly handle that link.\nSorry for the noise.\n\nRegards,\n-- \nPaolo\n"}]}