Re: Directory renames without breaking git log.

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Kai Blin <kai@...>
Cc: <git@...>
Date: Thursday, September 4, 2008 - 4:41 pm

Kai Blin <kai@samba.org> writes:


Unfortunately "git log --follow <filename>" works correctly only
on relative simple histories.  You are of course welcome to improve
this part of git.

Simple workaround is to use "git log <file>" (optionally using
--diff-filter) to get when file vanished, check using "git show" or
"git whatchanged" on boundary commit, then use 
"git log -C -C -- <old name> <new name>"
-- 
Jakub Narebski
Poland
ShadeHawk on #git
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Directory renames without breaking git log., Kai Blin, (Wed Sep 3, 5:38 pm)
Re: Directory renames without breaking git log., Tarmigan, (Wed Sep 3, 8:16 pm)
Re: Directory renames without breaking git log., Kai Blin, (Thu Sep 4, 3:45 pm)
Re: Directory renames without breaking git log., Jakub Narebski, (Thu Sep 4, 4:41 pm)
Re: Directory renames without breaking git log., Junio C Hamano, (Thu Sep 4, 3:49 pm)
Re: Directory renames without breaking git log., Kai Blin, (Thu Sep 4, 4:52 pm)