git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] git clone -s documentation: force a new paragraph for the NOTE
@ 2008-02-12  0:12 Miklos Vajna
  2008-02-12  3:07 ` Junio C Hamano
  0 siblings, 1 reply; 3+ messages in thread
From: Miklos Vajna @ 2008-02-12  0:12 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git

It should be loud and clear.

Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
---

I wanted this syntax when I added the NOTE but I tought it's not possible.
After Junio's patch to git pull --rebase, here is a similar fix for
git clone -s.

 Documentation/git-clone.txt |   13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/Documentation/git-clone.txt b/Documentation/git-clone.txt
index 2341881..9758243 100644
--- a/Documentation/git-clone.txt
+++ b/Documentation/git-clone.txt
@@ -62,12 +62,13 @@ OPTIONS
 	.git/objects/info/alternates to share the objects
 	with the source repository.  The resulting repository
 	starts out without any object of its own.
-	*NOTE*: this is a possibly dangerous operation; do *not* use
-	it unless you understand what it does. If you clone your
-	repository using this option, then delete branches in the
-	source repository and then run linkgit:git-gc[1] using the
-	'--prune' option in the source repository, it may remove
-	objects which are referenced by the cloned repository.
++
+*NOTE*: this is a possibly dangerous operation; do *not* use
+it unless you understand what it does. If you clone your
+repository using this option, then delete branches in the
+source repository and then run linkgit:git-gc[1] using the
+'--prune' option in the source repository, it may remove
+objects which are referenced by the cloned repository.
 
 
 
-- 
1.5.4.1

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

* Re: [PATCH] git clone -s documentation: force a new paragraph for the NOTE
  2008-02-12  0:12 [PATCH] git clone -s documentation: force a new paragraph for the NOTE Miklos Vajna
@ 2008-02-12  3:07 ` Junio C Hamano
  2008-02-12  9:33   ` Miklos Vajna
  0 siblings, 1 reply; 3+ messages in thread
From: Junio C Hamano @ 2008-02-12  3:07 UTC (permalink / raw)
  To: Miklos Vajna; +Cc: git

Miklos Vajna <vmiklos@frugalware.org> writes:

> It should be loud and clear.
> ...
> diff --git a/Documentation/git-clone.txt b/Documentation/git-clone.txt
> index 2341881..9758243 100644
> --- a/Documentation/git-clone.txt
> +++ b/Documentation/git-clone.txt
> @@ -62,12 +62,13 @@ OPTIONS
>  	.git/objects/info/alternates to share the objects
>  	with the source repository.  The resulting repository
>  	starts out without any object of its own.
> -	*NOTE*: this is a possibly dangerous operation; do *not* use
> -	it unless you understand what it does. If you clone your
> -	repository using this option, then delete branches in the
> -	source repository and then run linkgit:git-gc[1] using the
> -	'--prune' option in the source repository, it may remove
> -	objects which are referenced by the cloned repository.

The "Note" is already in bold and quite loud.  I am not sure if
this is worth it.

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

* Re: [PATCH] git clone -s documentation: force a new paragraph for the NOTE
  2008-02-12  3:07 ` Junio C Hamano
@ 2008-02-12  9:33   ` Miklos Vajna
  0 siblings, 0 replies; 3+ messages in thread
From: Miklos Vajna @ 2008-02-12  9:33 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git

[-- Attachment #1: Type: text/plain, Size: 323 bytes --]

On Mon, Feb 11, 2008 at 07:07:39PM -0800, Junio C Hamano <gitster@pobox.com> wrote:
> The "Note" is already in bold and quite loud.  I am not sure if
> this is worth it.

okay, i may do too much nitpicking, but i think a consistent handling
of NOTEs in manpages would be nice. or this doesn't matter? :S

thanks,
- VMiklos

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

end of thread, other threads:[~2008-02-12  9:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-12  0:12 [PATCH] git clone -s documentation: force a new paragraph for the NOTE Miklos Vajna
2008-02-12  3:07 ` Junio C Hamano
2008-02-12  9:33   ` Miklos Vajna

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).