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

Re: [PATCH] git-checkout(1) mention fate of extraneous files

From
Markus Heidelberg <markus.heidelberg@web.de>
Date
Jan 17, 2009, 12:57 UTC
Message-ID
<200901171357.18005.markus.heidelberg@web.de>
In-Reply-To
<87k58u4vlq.fsf@jidanni.org>
jidanni@jidanni.org, 17.01.2009:
> Signed-off-by: jidanni <jidanni@jidanni.org>
> ---
>  Documentation/git-checkout.txt |   13 +++++++------
>  1 files changed, 7 insertions(+), 6 deletions(-)
Show 13 quoted lines
> -When <paths> are not given, this command switches branches by
> -updating the index and working tree to reflect the specified
> -branch, <branch>, and updating HEAD to be <branch> or, if
> -specified, <new_branch>.  Using -b will cause <new_branch> to
> -be created; in this case you can use the --track or --no-track
> -options, which will be passed to `git branch`.
> +When <paths> are not given, this command switches branches by updating
> +the index and working tree to reflect the specified branch, <branch>,
> +and updating HEAD to be <branch> or, if specified, <new_branch>. (No
> +extraneous files present are deleted, use linkgit:git-clean[1] for a
> +pristine checkout.) Using -b will cause <new_branch> to be created; in
> +this case you can use the --track or --no-track options, which will be
> +passed to `git branch`.

Why do you reformat the whole paragraph? Just inserting your sentence would give a much nicer diff for easier review, it's no difference for asciidoc. Indeed to find the change, I just copied the old and new text into two Vim windows, reformatted and diffed them.

Then you would get this
  Documentation/git-checkout.txt |   2 ++
  1 files changed, 2 insertions(+), 0 deletions(-)
Markus
Previous: jidanni@jidanni.orgNext: jidanni@jidanni.org
Message 2 of 13 in “git-checkout(1) mention fate of extraneous files”
  1. git-checkout(1) mention fate of extraneous filesjidanni@jidanni.org, Jan 17, 2009
  2. Markus HeidelbergJan 17, 2009
  3. jidanni@jidanni.orgJan 17, 2009
  4. git-checkout(1): mention fate of extraneous filesjidanni@jidanni.org, Jan 19, 2009
  5. Boyd Stephen Smith Jr.Jan 19, 2009
  6. jidanni@jidanni.orgJan 19, 2009
  7. Johannes SchindelinJan 19, 2009
  8. git-checkout(1): mention fate of extraneous filesjidanni@jidanni.org, Jan 20, 2009
  9. Johannes SchindelinJan 20, 2009
  10. Boyd Stephen Smith Jr.Jan 20, 2009
  11. Junio C HamanoJan 20, 2009
  12. Johannes SchindelinJan 20, 2009
  13. jidanni@jidanni.orgJan 20, 2009

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.