[TYPO3-core] Git Experts: Fix amnesia?
Ernesto Baschny [cron IT]
ernst at cron-it.de
Thu Oct 18 10:56:08 CEST 2012
Michael Stucki schrieb am 17.10.2012 11:01:
> Hi Aske,
>> Before you start doing all this I would like to point out that
>> there's an option called --follow for git log, which "Continue
>> listing the history of a file beyond renames (works only for a single
>> file).". Meaning that if you need the whole history of a file simply
>> use git log -p --follow filepath..
>> It's a shame this isn't default behavior for Git IMO, but at least
>> it's possible without all the hassle.
> Huh?! How does this work?
> I just tried, and I see that it works, but why does it work?
> However, it does not work for git annotate, as far as I can see. So I'm
> not sure if it really solves all our problems...
git annotate -C <file>
works. This will also follow renames of the file.
I don't think it's worth to do any complex git task now on this matter.
More information about the TYPO3-team-core