One of the problem is the finding out whether delete file was an image file or text file.  What I'm doing is i'm exploiting that deleted image file return empty lines during git-parse, where as a text file would never return an empty lines even when entire file was removed.  

I know this is not the best way, but only other way I could think of is make extra costly call to git-api to pull previous file content and examining it during git-status call.  Which doesn't seem practical and given how often git-status is being called it could potentially slow down the system substantially if there are a lot of removed files...

Let me know what is your thought on it.