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

Re: [PATCH] sha1_name(): accept ':directory/' to get at the cache_tree

From
Jakub Narebski <jnareb@gmail.com>
Date
Dec 22, 2006, 18:05 UTC
Message-ID
<200612221905.02915.jnareb@gmail.com>
In-Reply-To
<Pine.LNX.4.63.0612221315370.19693@wbgn013.biozentrum.uni-wuerzburg.de>
Johannes Schindelin wrote:
Show 10 quoted lines
> On Fri, 22 Dec 2006, Jakub Narebski wrote:
> 
>> Junio C Hamano wrote:
>> 
>>> (2) What does this do when the index is unmerged?
>> 
>> I think it should show "git ls-files --unmerged --abbrev", perhaps...
> 
> Nah. I'd rather fail out, saying that because there are unmerged entries, 
> there is no valid tree in the index.

Well, 'git diff' on unmerged IIRC does 'git diff -cc', so why not 'git show :' do 'git ls-files --unmerged --abbrev'...

-- 
Jakub Narebski
Poland
Previous: Johannes SchindelinNext: Johannes Schindelin
Message 5 of 10 in “sha1_name(): accept ':directory/' to get at the cache_tree”
  1. sha1_name(): accept ':directory/' to get at the cache_treeJohannes Schindelin, Dec 22, 2006
  2. Junio C HamanoDec 22, 2006
  3. Jakub NarebskiDec 22, 2006
  4. Johannes SchindelinDec 22, 2006
  5. Jakub NarebskiDec 22, 2006
  6. Johannes SchindelinDec 22, 2006
  7. Johannes SchindelinDec 22, 2006
  8. Alex RiesenDec 22, 2006
  9. Johannes SchindelinDec 22, 2006
  10. Alex RiesenDec 22, 2006

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.