Quoting Daniel <mjucde@xxxxx> > $ git version > git version 1.6.4.4 > $ mkdir a && cd a && git init > $ echo "Free data" > a > $ git add a > $ git commit -m1 > $ echo "Free data allocated by other function" > a > $ git commit -a -m2 > $ PAGER=cat git log -S'Free' --oneline > 2f34241 1 > > I would expect "git log" to show both 1 and 2 commit, but it prints only 1. > > Is it the correct behavior? Junio described how various features in git were invented to realize the goal of "Linus's ultimate content tracking" in his blog http://gitster.livejournal.com/35628.html (and he extended on the article in a chapter in his book that was published in Japan last month). The "pickaxe" search is one of such components. It is meant to be given the block of lines you are interested in the newer version and used to find the commit that changes anything in the given block of lines. For details, see his blog article (item no. 3) at the above URL (and other items as well, if you are interested in learning the history of other notable features). -- Nanako Shiraishi http://ivory.ap.teacup.com/nanako3/ -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html