Re: (tracking down functions with git) or when did pcmcia_register_client disappear ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 15/06/07, Ramagudi Naziir <naziirr@xxxxxxxxx> wrote:
hi all,

[snip]
Can I use git to find the exact kernel version (or patch)
this function disappeared ?


Hmm, not tested, but shouldn't something like this find any commits
that touch that function?

git log --pretty=oneline | awk {'print $1'} | while read ID; \
do if git show $ID | grep -q -m 1 "pcmcia_register_client" ; \
then echo $ID; fi; done

There's probably some smarter way with git, but I don't know it ;)

--
Jesper Juhl <jesper.juhl@xxxxxxxxx>
Don't top-post  http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please      http://www.expita.com/nomime.html

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux