threads / discuss / 14084

git log --follow <filename> doesn't follow across 'subtree strategy' merge

Subject: git log --follow <filename> doesn't follow across 'subtree strategy' merge

## tl;dr

One message between Jun 22, 2008 and Jun 22, 2008.

replies: 0people: 1as markdown or json

Jakub Narebski· Jun 22, 2008, 12:51 UTC · lore
When trying to see all history of gitweb using
  $ git log -C -C --raw --abbrev --follow gitweb/gitweb.perl

I have noticed that while it correctly detects renaming gitweb/gitweb.cgi to gitweb/gitweb.perl, and follows this rename, it cannot get past merge commit 0a8f4f0020cb35095005852c0797f0b90e9ebb74 and follow moving gitweb.cgi to gitweb/gitweb.cgi.

To get full history I have to use
  $ git log -C -C --raw -- gitweb/gitweb.perl gitweb/gitweb.cgi \
                           gitweb.cgi
Adding '--full-history' doesn't help...
-- 
Jakub Narebski
Thorn, Poland
ShadeHawk on #git

← back to recent threads