I want to find out in which commit did I add the code given below:
if (getListView().getChildCount() == 0)
getActivity().findViewById(android.R.id.empty).setVisibility(View.VISIBLE);
How do I achieve this?
git log -S searchTerm
gives you the commits in which the search term was introduced.