LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   how to view changes to source code based on commit number (https://www.linuxquestions.org/questions/linux-kernel-70/how-to-view-changes-to-source-code-based-on-commit-number-738980/)

kushalkoolwal 07-09-2009 02:51 PM

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.

unSpawn 07-12-2009 07:25 AM

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.

kushalkoolwal 07-12-2009 03:19 PM

Awesome! That was indeed very helpful. Thank you.


All times are GMT -5. The time now is 02:16 AM.