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

Re: git subtree error (just how do you expect me to merge 0 trees?)

From
greened@obbligato.org <greened@obbligato.org>
Date
Jan 1, 2013, 02:39 UTC
Message-ID
<87ehi539vb.fsf@waller.obbligato.org>
In-Reply-To
<FBE22FDC-5800-40C8-9778-82DFD27579F6@drewcrawfordapps.com>
Drew Crawford <drew@drewcrawfordapps.com> writes:
> Ideally it would be better to emit an error-message from a script
> higher up the calling chain that would be more descriptive about the
> problem (such as suggesting no branch is specified).--

Ok, I used git rev-parse --verify and I have this working now. Will send to Junio in the batch with fixes from other folks.

Thanks for catching this!
                         -David
Previous: Junio C Hamano
Message 7 of 7 in “git subtree error (just how do you expect me to merge 0 trees?)”
  1. Drew CrawfordOct 18, 2012
  2. greened@obbligato.orgJan 1, 2013
  3. greened@obbligato.orgJan 1, 2013
  4. Junio C HamanoJan 1, 2013
  5. greened@obbligato.orgJan 1, 2013
  6. Junio C HamanoJan 1, 2013
  7. greened@obbligato.orgJan 1, 2013

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.