LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 07-09-2009, 03:51 PM   #1
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Rep: Reputation: 48
how to view changes to source code based on commit number


I would like to find out what source files were changes based on a commit log for the Linux kernel.

For example, the changelog for 2.6.28, there is a commit
Code:
commit 5cca0cf15a94417f49625ce52e23589eed0a1675 upstream
What is the best (and recommended) way to see what source code files were changed for this particular commit number.
 
Old 07-12-2009, 08:25 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,541
Blog Entries: 54

Rep: Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924Reputation: 2924
In this case you could go to http://git.kernel.org/ then in the list find the stable 2.6.28 tree as "stable/linux-2.6.28.y.git". Drill down into it and search for "5cca0cf15a94417f49625ce52e23589eed0a1675" to find "2009-02-02 Suresh Siddha x86, pat: fix reserve_memtype() for legacy 1MB range": http://git.kernel.org/?p=linux/kerne...67c2b2f1cc2e48.
 
Old 07-12-2009, 04:19 PM   #3
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Original Poster
Rep: Reputation: 48
Awesome! That was indeed very helpful. Thank you.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to view kernel source code MichaelBoz Linux - Newbie 2 11-16-2008 04:52 PM
How to view source code in LINUX? karthikg356 Linux - General 4 12-23-2007 09:37 AM
How to view source code in linux? karthikg356 Programming 2 12-23-2007 02:28 AM
how to view source code nick021 Linux - Newbie 4 02-13-2006 01:51 AM
source code for tree view ambitionless Programming 0 09-13-2004 10:39 AM


All times are GMT -5. The time now is 09:36 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration