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

Re: BUG: checkout won't checkout?

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 18, 2015, 22:53 UTC
Message-ID
<xmqqvbekbpc0.fsf@gitster.dls.corp.google.com>
In-Reply-To
<CAE5ih79KhNXqvSNW-w8pMmiys2Dv24Rt4KFdRdoA9EuPDS3ELw@mail.gmail.com>
Luke Diamand <luke@diamand.org> writes:
Show 8 quoted lines
>>> $ git checkout upstream/master -- subtree
>>> $ git diff upstream/master -- subtree
>>> -- still lots of deltas
>>
>> Does this show _ONLY_ additions?  Or does it include modifications
>> and removals?
>
> There are indeed _ONLY_ additions.

http://thread.gmane.org/gmane.comp.version-control.git/234903/focus=234912 http://thread.gmane.org/gmane.comp.version-control.git/234903/focus=234924

In short, it is an intended behaviour, both Peff and I consider that the intention is bad and the behaviour should be changed.

But nothing has happened yet (it is listed as one of the "leftover bits" http://git-blame.blogspot.com/p/leftover-bits.html).

Previous: Luke DiamandNext: Luke Diamand
Message 6 of 7 in “BUG: checkout won't checkout?”
  1. Luke DiamandJun 18, 2015
  2. Luke DiamandJun 18, 2015
  3. Junio C HamanoJun 18, 2015
  4. Junio C HamanoJun 18, 2015
  5. Luke DiamandJun 18, 2015
  6. Junio C HamanoJun 18, 2015
  7. Luke DiamandJun 18, 2015

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.