git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Documentation/git-format-patch.txt: fix weird backslash at --root
@ 2008-12-27 19:57 jidanni
  2008-12-27 22:15 ` Junio C Hamano
  0 siblings, 1 reply; 3+ messages in thread
From: jidanni @ 2008-12-27 19:57 UTC (permalink / raw)
  To: git

However note --root is not mentioned in SYNOPSIS nor on its own line.
Also fixed grammar.

Signed-off-by: jidanni <jidanni@jidanni.org>

diff --git a/git-format-patch.txt b/git-format-patch.txt
index ee27eff..51c25cd 100644
--- a/git-format-patch.txt
+++ b/git-format-patch.txt
@@ -48 +48 @@ everything since project inception to one commit, say "git
-format-patch \--root <commit>" to make it clear that it is the
+format-patch --root <commit>" to make it clear that it is the
@@ -166 +166 @@ not add any suffix.
-	that they differ.  Note that this disable the patch to be properly
+	that they differ.  Note that this disables the patch from being properly
@@ -209 +209 @@ project:
-$ git format-patch \--root origin
+$ git format-patch --root origin
-- 
1.5.6.5

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] Documentation/git-format-patch.txt: fix weird backslash at --root
  2008-12-27 19:57 [PATCH] Documentation/git-format-patch.txt: fix weird backslash at --root jidanni
@ 2008-12-27 22:15 ` Junio C Hamano
  2008-12-27 22:36   ` jidanni
  0 siblings, 1 reply; 3+ messages in thread
From: Junio C Hamano @ 2008-12-27 22:15 UTC (permalink / raw)
  To: jidanni; +Cc: git

jidanni@jidanni.org writes:

> @@ -209 +209 @@ project:
> -$ git format-patch \--root origin
> +$ git format-patch --root origin

I thought these backslashes before double-dash are protecting the latter
from being turned into em-dashes.  I do not see any weird backslash in the
"git help" (aka "manpage") output nor in the HTML documentation, e.g.

    http://www.kernel.org/pub/software/scm/git/docs/git-format-patch.html

without your patch, so I have to say that this chunk is a useless churn.

All of your three patches lack context, which is essential enabler for
easier review.  They have "diff --git" header, but are not made relative
to the root of the project tree (i.e. lack "Documentation/" prefix), which
is the norm for both the tool and for this project and this mailing list.

I guess that you may be experimenting with various options to see how they
work, and the curiosity by itself is a good thing, but please do not make
other people suffer with results from such experiments by sending patches
in nonstandard forms.

By submitting a patch to try improving the system, you are already making
a difference in substance.  Please do not try to be creative in form.  It
only makes lives of other people unnecessarily harder with no real reason
and wastes other people's time.  And it wastes yours, too.  A patch
conforming to the norm is much easier to review, comment on and apply.
Ok?

"Don't try to be different in form, make a difference in substance" also
applies to your S-o-b line, by the way.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Documentation/git-format-patch.txt: fix weird backslash at --root
  2008-12-27 22:15 ` Junio C Hamano
@ 2008-12-27 22:36   ` jidanni
  0 siblings, 0 replies; 3+ messages in thread
From: jidanni @ 2008-12-27 22:36 UTC (permalink / raw)
  To: gitster; +Cc: git

JCH> http://www.kernel.org/pub/software/scm/git/docs/git-format-patch.html
That looks OK. All I know is on Debian (1:1.5.6.5-2) it gets rendered:
$ w3m -dump /usr/share/doc/git-doc/git-format-patch.html|fgrep \\-
    $ git format-patch \--root origin

I was patching offline from Debian. OK, in the future I will clone
upstream directly properly first.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-12-27 22:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-27 19:57 [PATCH] Documentation/git-format-patch.txt: fix weird backslash at --root jidanni
2008-12-27 22:15 ` Junio C Hamano
2008-12-27 22:36   ` jidanni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).