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

Strangeness with git log --follow

From
BFBrenton Fletcher <i@bloople.net>
Date
Aug 30, 2009, 14:31 UTC
Message-ID
<E50B7EBE-7DBB-442F-A341-FD8A1EEFB41B@bloople.net>

I'm using git log --follow -p <filename> to list all the commits affecting a certain file. My problem is that git log --follow --topo- order returns fewer commits than git log --follow --date-order (or default). The docs for git log and git-rev-list don't seem to indicate whay this is happening.

The repo I'm working with is http://github.com/bloopletech/keycontrol/tree/master 
  and the file is original/C/kc.c on the master branch; I'm using git  
v1.6.4.2

Am I misunderstanding what's going on here? --topo-order is kind of doing that I want since it's generating a nice series of commits that diff against each other nicely, whereas running without topo-order is returning the commits in a sequence which means thay don't properly diff against each other. I like the results I'm getting from --topo- order, but I need results in date order, which is not assured AFAIK with topo-order.

If someone could enlighten me as to what's going on, thanks!
-Brenton Fletcher
Message 1 of 1 in “Strangeness with git log --follow”
  1. Brenton FletcherAug 30, 2009

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.