mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* How to find out which kernel release contains some code
@ 2004-09-13 15:41 Alan Stern
  2004-09-14 22:18 ` Randy.Dunlap
  0 siblings, 1 reply; 2+ messages in thread
From: Alan Stern @ 2004-09-13 15:41 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: Kernel development list

Randy:

Is there any simple easy way to find out in which kernel release a 
particular line of code first appeared?  Or to find out whether that line 
is or isn't present in a particular release?

The timestamps in BitKeeper don't help much.  They seem to reflect the 
first time the code was put into _any_ BitKeeper repository, not the time 
it was entered into Linus's tree.  The web interface to the linux-2.6 tree 
doesn't offer any way to view a particular source file as of a particular 
release tag.

I don't fancy downloading lots and lots of enormous patch files, searching
for one small entry.  Or lots of kernel source tarballs, for that matter.

There's got to be an easier way.  Do you know of one?

Alan Stern


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How to find out which kernel release contains some code
  2004-09-13 15:41 How to find out which kernel release contains some code Alan Stern
@ 2004-09-14 22:18 ` Randy.Dunlap
  0 siblings, 0 replies; 2+ messages in thread
From: Randy.Dunlap @ 2004-09-14 22:18 UTC (permalink / raw)
  To: Alan Stern; +Cc: linux-kernel

On Mon, 13 Sep 2004 11:41:50 -0400 (EDT) Alan Stern wrote:

| Randy:
| 
| Is there any simple easy way to find out in which kernel release a 
| particular line of code first appeared?  Or to find out whether that line 
| is or isn't present in a particular release?

Hi Alan,

I usually try to use BK's web interface "Browse the source tree"
for this:
  http://linux.bkbits.net:8080/linux-2.5/src?nav=index.html

E.g., I can browse uhci-hcd.c, version 1.89, and see on what date
and who it thinks was responsible for a line of source code:
http://linux.bkbits.net:8080/linux-2.5/anno/drivers/usb/host/uhci-hcd.c%401.89?nav=index.html|src/.|src/drivers|src/drivers/usb|src/drivers/usb/host
But that won't say what kernel version it is (first) contained in.
Just a merge date.

| The timestamps in BitKeeper don't help much.  They seem to reflect the 
| first time the code was put into _any_ BitKeeper repository, not the time 
| it was entered into Linus's tree.

Yes, that bugs me too.

| The web interface to the linux-2.6 tree 
| doesn't offer any way to view a particular source file as of a particular 
| release tag.
| 
| I don't fancy downloading lots and lots of enormous patch files, searching
| for one small entry.  Or lots of kernel source tarballs, for that matter.
| 
| There's got to be an easier way.  Do you know of one?

Not really.  You could ask on the bk-users mailing list.  See here:
  http://www.bitkeeper.com/Support.Mailing.html

Or there may be features in the commercial version of BK that help
out with this more that the free version does.  I dunno.

--
~Randy

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-09-14 22:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-13 15:41 How to find out which kernel release contains some code Alan Stern
2004-09-14 22:18 ` Randy.Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®