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

Re: Strange output of git-diff-tree

From
Junio C Hamano <junkio@cox.net>
Date
Aug 9, 2006, 18:28 UTC
Message-ID
<7vbqqt4vct.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<7vfyg54vjb.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano <junkio@cox.net> writes:
Show 12 quoted lines
> Jakub Narebski <jnareb@gmail.com> writes:
>
>> First (noticed by matled) is that for git-diff-tree with single tree
>> as an argument it outputs fist commit-id of commit given at input. 
>> It is not mentioned in documentation and I think totally unnecessary:
>>
>> 1038:jnareb@roke:~/git> git diff-tree --abbrev origin
>> d5dc6a76d49367cddc015e01d2e9aa22e64d7e28
>> :040000 040000 44fb36d... 1c26294... M  Documentation
>
> Working as specified as in the original version.  See
> core-tutorial and look for "git-diff-tree -p HEAD".

My mistake -- if you are talking about the first line that shows the commit object name, I am not sure if this was from the beginning or a recent slip-up. Will need to look into it.

I thought you were talking about 1-argument diff-tree, sorry.
Previous: Junio C HamanoNext: Junio C Hamano
Message 3 of 6 in “Strange output of git-diff-tree”
  1. Jakub NarebskiAug 9, 2006
  2. Junio C HamanoAug 9, 2006
  3. Junio C HamanoAug 9, 2006
  4. Junio C HamanoAug 9, 2006
  5. (Unsolicited hint) straightening out stray "git bisect"Junio C Hamano, Aug 9, 2006
  6. Junio C HamanoAug 9, 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.