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

Re: git-whatchanged does not show merge result?

From
Linus Torvalds <torvalds@osdl.org>
Date
Oct 14, 2005, 18:39 UTC
Message-ID
<Pine.LNX.4.64.0510141138030.23590@g5.osdl.org>
In-Reply-To
<4dd15d180510141031n531b9e0enc8e7d668b1e61b83@mail.gmail.com>
On Fri, 14 Oct 2005, David Ho wrote:
Show 5 quoted lines
>
> I was a little worried when I did git-whatchanged on a file and there
> was a hole in the history where the merge is.  This reassured me that
> all changes to the file is accessible (I'm sure they are all stored
> safely in the repo =).

Btw, "git-whatchanged" really _can_ hide real stuff, namely when nothing changed.

A commit that has no changes at all (which is quite possible) will never be shown by git-whatchanged.

So in many ways, "git log" is the way to see all commits. "git-whatchanged" is really just a way to see the _changes_, and by defauly it ignores merges just because the changes are "complicated".

		Linus
Previous: David HoNext: Junio C Hamano
Message 4 of 6 in “Re: git-whatchanged does not show merge result?”
  1. David HoOct 14, 2005
  2. Linus TorvaldsOct 14, 2005
  3. David HoOct 14, 2005
  4. Linus TorvaldsOct 14, 2005
  5. Junio C HamanoOct 14, 2005
  6. David HoOct 14, 2005

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.