Message ID | pull.1591.git.1696193527923.gitgitgadget@gmail.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | git-status.txt: fix minor asciidoc format issue | expand |
"cousteau via GitGitGadget" <gitgitgadget@gmail.com> writes: > From: Javier Mora <cousteaulecommandant@gmail.com> > > The paragraph below the list of short option combinations > isn't correctly formatted, making the result hard to read. In <pull.1590.git.1695392082207.gitgitgadget@gmail.com>, Josh fixed this issue a bit differently but in the same spirit, and the fix in 38a15f47 (Documentation/git-status: add missing line breaks, 2023-09-22) is about to hit the 'master' branch. Thanks. [Reference] * https://lore.kernel.org/git/pull.1590.git.1695392082207.gitgitgadget@gmail.com/
Yeah, I saw that right after I submitted my patch :( Only problem is that that patch doesn't use the same formatting as the rest of the document (uses a code block / preformatted text instead of a list as other options in the document do) so my version of the patch is just a minor cosmetic improvement now. (In any case, the result is quite similar in the plain text manpage version; the change is more noticeable in the HTML version though.) If you're still interested in the "format as a list" issue and it makes things easier to you, I can submit a merge of both commits (fixing the merge conflict). El dom, 1 oct 2023 a las 22:57, Junio C Hamano (<gitster@pobox.com>) escribió: > > "cousteau via GitGitGadget" <gitgitgadget@gmail.com> writes: > > > From: Javier Mora <cousteaulecommandant@gmail.com> > > > > The paragraph below the list of short option combinations > > isn't correctly formatted, making the result hard to read. > > In <pull.1590.git.1695392082207.gitgitgadget@gmail.com>, Josh fixed > this issue a bit differently but in the same spirit, and the fix in > 38a15f47 (Documentation/git-status: add missing line breaks, > 2023-09-22) is about to hit the 'master' branch. > > Thanks. > > [Reference] > > * https://lore.kernel.org/git/pull.1590.git.1695392082207.gitgitgadget@gmail.com/ >
Javier Mora <cousteaulecommandant@gmail.com> writes: > Only problem is that that patch doesn't use the same formatting as the > rest of the document (uses a code block / preformatted text instead of > a list as other options in the document do) so my version of the patch > is just a minor cosmetic improvement now. Either one is a minor cosmetic improvement ;-) I do agree with you that it is more appropriate to use the enumeration. A patch on top of 'master' (which now has Josh's fix) would be very much welcome. Thanks.
diff --git a/Documentation/git-status.txt b/Documentation/git-status.txt index a051b1e8f38..48f46eb2047 100644 --- a/Documentation/git-status.txt +++ b/Documentation/git-status.txt @@ -245,10 +245,11 @@ U U unmerged, both modified .... Submodules have more state and instead report - M the submodule has a different HEAD than - recorded in the index - m the submodule has modified content - ? the submodule has untracked files + +* 'M' = the submodule has a different HEAD than recorded in the index +* 'm' = the submodule has modified content +* '?' = the submodule has untracked files + since modified content or untracked files in a submodule cannot be added via `git add` in the superproject to prepare a commit.