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

Re: [PATCH] checkout -p: handle new files correctly

From
Junio C Hamano <gitster@pobox.com>
Date
May 27, 2020, 21:51 UTC
Message-ID
<xmqqwo4xjbcq.fsf@gitster.c.googlers.com>
In-Reply-To
<pull.646.git.1590613746507.gitgitgadget@gmail.com>

"Johannes Schindelin via GitGitGadget" <gitgitgadget@gmail.com> writes:

> This also fixes the problem where added _empty_ files could not be
> staged via `git checkout -p`.
Nice.  Will queue.
>     For ease of backporting, this patch is based on js/add-p-leftover-bits.
Yup, I agree that it would be a sensible fork point.
Previous: Johannes Schindelin via GitGitGadgetNext: Jeff King
Message 2 of 5 in “checkout -p: handle new files correctly”
  1. checkout -p: handle new files correctlyJohannes Schindelin via GitGitGadget, May 27, 2020
  2. Junio C HamanoMay 27, 2020
  3. Jeff KingMay 27, 2020
  4. Johannes SchindelinMay 27, 2020
  5. Johannes SchindelinMay 27, 2020

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.