git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] git clone -s documentation: force a new paragraph for the NOTE

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 12, 2008, 03:07 UTC
Message-ID
<7v4pce7tz8.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<20080212001257.GG25954@genesis.frugalware.org>
Miklos Vajna <vmiklos@frugalware.org> writes:
Show 16 quoted lines
> 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.

Previous: Miklos VajnaNext: Miklos Vajna
Message 2 of 3 in “git clone -s documentation: force a new paragraph for the NOTE”
  1. git clone -s documentation: force a new paragraph for the NOTEMiklos Vajna, Feb 12, 2008
  2. Junio C HamanoFeb 12, 2008
  3. Miklos VajnaFeb 12, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.