Documentation: quote commit messages consistently.
Documentation quotes commit messages 14 times with double-quotes, and 7 times with single-quotes. The patch turns everything to double-quotes. A nice side effect is that documentation becomes more Windoze-friendly as AFAIK single quotes won't work there. Signed-off-by: Sergei Organov <osv@javad.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Sergei Organov committed
Nov 2, 2007 at 20:12 UTC
d336fc096b450c01502e99fa17583d5bebf9aa24
3 files changed
+7
-7
Documentation/core-tutorial.txt
+4
-4
@@ -833,7 +833,7 @@ that branch, and do some work there.
833
------------------------------------------------
834
$ git checkout mybranch
835
$ echo "Work, work, work" >>hello
836
-$ git commit -m 'Some work.' -i hello
836
+$ git commit -m "Some work." -i hello
837
------------------------------------------------
838
839
Here, we just added another line to `hello`, and we used a shorthand for
@@ -858,7 +858,7 @@ hasn't happened in the `master` branch at all. Then do
858
------------
859
$ echo "Play, play, play" >>hello
860
$ echo "Lots of fun" >>example
861
-$ git commit -m 'Some fun.' -i hello example
861
+$ git commit -m "Some fun." -i hello example
862
------------
863
864
since the master branch is obviously in a much better mood.
@@ -1613,8 +1613,8 @@ in both of them. You could merge in 'diff-fix' first and then
1613
'commit-fix' next, like this:
1614
1615
------------
1616
-$ git merge -m 'Merge fix in diff-fix' diff-fix
1617
-$ git merge -m 'Merge fix in commit-fix' commit-fix
1616
+$ git merge -m "Merge fix in diff-fix" diff-fix
1617
+$ git merge -m "Merge fix in commit-fix" commit-fix
1618
------------
1619
1620
Which would result in:
Documentation/everyday.txt
+2
-2
@@ -109,7 +109,7 @@ $ tar zxf frotz.tar.gz
109
$ cd frotz
110
$ git-init
111
$ git add . <1>
112
-$ git commit -m 'import of frotz source tree.'
112
+$ git commit -m "import of frotz source tree."
113
$ git tag v2.43 <2>
114
------------
115
+
@@ -300,7 +300,7 @@ $ git merge topic/one topic/two && git merge hold/linus <8>
300
$ git checkout maint
301
$ git cherry-pick master~4 <9>
302
$ compile/test
303
-$ git tag -s -m 'GIT 0.99.9x' v0.99.9x <10>
303
+$ git tag -s -m "GIT 0.99.9x" v0.99.9x <10>
304
$ git fetch ko && git show-branch master maint 'tags/ko-*' <11>
305
$ git push ko <12>
306
$ git push ko v0.99.9x <13>
Documentation/git-reset.txt
+1
-1
@@ -157,7 +157,7 @@ need to get to the other branch for a quick bugfix.
157
------------
158
$ git checkout feature ;# you were working in "feature" branch and
159
$ work work work ;# got interrupted
160
-$ git commit -a -m 'snapshot WIP' <1>
160
+$ git commit -a -m "snapshot WIP" <1>
161
$ git checkout master
162
$ fix fix fix
163
$ git commit ;# commit with real log