Hi all....
I have git clone 
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git,
So, I get an repo for linux  kernel source code .
What I  want to do is to search for a function changes from version A
to version B.
for instance, I want to get change log for function
"kmem_cache_create"  in file  mm/slab.c  from kernel 2.6.18  to
3.0.....

What I should issue an command?
I have tried
           git  log --grep='kmem_cache_create' mm/slab.c
but this will get many commits and every commit is specified with an
sha1,  not kernel version  which  i wanted.


I am not  a native english speaker ,i have tried my best to explain my
question ,but  maybe there  is still some fault or unclear
things.sorry....

any reply will be appreciated, thks.

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.

Reply via email to