Did you ever come across a line of code that you d *really* like to know when was introduced/deleted ?
Well, if you are using GIT for your project this might come handy.
Let's say the piece of text you are investigating is this:
a = get_something(some_var)
and it is located in the file some_folder/some_file.py
Then, try this command:
git log -S "a = get_something(some_var)" some_
Then, GIT will look for the string we specified string within the commit history and output something like this:
Author: Some Dude <firstname.lastname@example.org>
Date: Fri Feb 15 14:09:18 2013 -0300
The commit message of this commit.
This came quite handy to me recently. Hope it helps!