LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 02:51 PM   #1
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Rep: Reputation: 49
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, 07:25 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
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, 03:19 PM   #3
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

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


Reply



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 03:52 PM
How to view source code in LINUX? karthikg356 Linux - General 4 12-23-2007 08:37 AM
How to view source code in linux? karthikg356 Programming 2 12-23-2007 01:28 AM
how to view source code nick021 Linux - Newbie 4 02-13-2006 12:51 AM
source code for tree view ambitionless Programming 0 09-13-2004 09:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 04:30 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration