On Tue, Nov 27, 2012 at 11:28 PM, Brad Roberts <[email protected]> wrote: > git blame is a great tool for this. Github has a ui on top of it as well, > though it's slow to traverse backwards in time that way.
A somewhat crude way to check when a piece of code appeared for the first time is to use »git log -S«, which searches for a given string being added/removed in a commit: --- $ git log -S"fd->inlineScan" commit 7a3c6789b00e04d9b1b13ef69eb43ce0e56cdda3 Author: Brad Roberts <[email protected]> Date: Thu Jul 2 06:58:45 2009 +0000 dmd 0.61 --- I like to use it in situations where I want to get a quick idea of all the changes concerning a given symbol/piece of code. There are probably much more elegant, specialized ways to do this, but I still the above does the job for me in many situations. David _______________________________________________ dmd-internals mailing list [email protected] http://lists.puremagic.com/mailman/listinfo/dmd-internals
