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

Re: [PATCH] Documented --no-checkout option in git-svn

From
Deskin Miller <deskinm@umich.edu>
Date
Oct 30, 2008, 18:07 UTC
Message-ID
<20081030180736.GA20322@euler>
In-Reply-To
<1225382900-22482-1-git-send-email-_vi@list.ru>
On Thu, Oct 30, 2008 at 06:08:20PM +0200, _vi@list.ru wrote:
Show 18 quoted lines
> From: Vitaly "_Vi" Shukela <public_vi@tut.by>
> 
> Signed-off-by: Vitaly "_Vi" Shukela <public_vi@tut.by>
> ---
>  Documentation/git-svn.txt |    6 ++++++
>  1 files changed, 6 insertions(+), 0 deletions(-)
> 
> diff --git a/Documentation/git-svn.txt b/Documentation/git-svn.txt
> index 84c8f3c..90784a5 100644
> --- a/Documentation/git-svn.txt
> +++ b/Documentation/git-svn.txt
> @@ -91,6 +91,9 @@ COMMANDS
>  	tracking.  The name of the [svn-remote "..."] section in the
>  	.git/config file may be specified as an optional command-line
>  	argument.
> +	
> +--no-checkout
> +	Do not checkout latest revision after fetching.

This isn't quite how the other options are listed in the source; for one, this ends up formatted in the final manpage like

--no-checkout Do not checkout latest revision after fetching.
Instead of
--no-checkout
	Do not checkout latest revision after fetching.

Also, the wording seems slightly imprecise; in fact, if the repository already has a checkout, git svn fetch would not attempt to check anything out in its place, nor will it check anything out if there is a local master branch already. With clone this is not typically a problem, but in fact it is possible to clone into a preexisting git repository, so the same concerns exist.

Deskin Miller
Previous: _vi@list.ruNext: Sam Vilain
Message 2 of 4 in “Documented --no-checkout option in git-svn”
  1. Documented --no-checkout option in git-svn_vi@list.ru, Oct 30, 2008
  2. Deskin MillerOct 30, 2008
  3. Sam VilainOct 30, 2008
  4. public_viOct 31, 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.