git: 0c1ab63e13 - main - committers-guide: Improve style of git commands

Mateusz Piotrowski <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
The branch main has been updated by 0mp:

URL: https://cgit.FreeBSD.org/doc/commit/?id=0c1ab63e1324abbc61d4559f9755836b04e310cd

commit 0c1ab63e1324abbc61d4559f9755836b04e310cd
Author:     Mateusz Piotrowski <[email protected]>
AuthorDate: 2021-10-07 14:38:45 +0000
Commit:     Mateusz Piotrowski <[email protected]>
CommitDate: 2021-10-07 14:39:42 +0000

    committers-guide: Improve style of git commands
    
    Add a space between the -m flag and its arguments.
---
 documentation/content/en/articles/committers-guide/_index.adoc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/documentation/content/en/articles/committers-guide/_index.adoc b/documentation/content/en/articles/committers-guide/_index.adoc
index c1a2061c37..231dfebaf7 100644
--- a/documentation/content/en/articles/committers-guide/_index.adoc
+++ b/documentation/content/en/articles/committers-guide/_index.adoc
@@ -1399,7 +1399,7 @@ package:net/rsync[] is commonly installed, so I'll use that.
 ...
 % git diff --staged
 ...
-% git commit -m"Vendor import of NetBSD's mtree at 2020-12-11"
+% git commit -m "Vendor import of NetBSD's mtree at 2020-12-11"
 [vendor/NetBSD/mtree 8e7aa25fcf1] Vendor import of NetBSD's mtree at 2020-12-11
  7 files changed, 114 insertions(+), 82 deletions(-)
 % git tag -a vendor/NetBSD/mtree/20201211
@@ -1534,7 +1534,7 @@ At this point, you should have a pristine copy of glorbnitz ready to commit.
 
 [source,shell]
 ....
-% git commit -m"Import GlorbNitz frobnosticator revision 3.1415"
+% git commit -m "Import GlorbNitz frobnosticator revision 3.1415"
 ....
 
 As above, I used `-m` for simplicity, but you should likely create a commit message that explains what a Glorb is and why you'd use a Nitz to get it.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.