6

I have checked out linux kernel git repository

git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

I know how to use git log, git show and similar commands to see changes/commits in the main kernel tree. For my particular purpose, I am however only interested in changes of the kernel tree 3.18.

How can I see only changes relating to 3.18 ?

How can I see, for example, which files have been changed between 3.18.6 and 3.18.7 ?

  • git diff --stat 3.18.6 3.18.7 Assumming 3.18.7 and 3.18.7 or either tags or branches on that gir repository – Milind Dumbare Mar 18 '15 at 11:44
4

I would rather clone this git. And then do git diff --stat

$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git`
$ cd linux-stable/
$ git diff --stat v3.18.6 v3.18.7
  • what repository is that ? – Thomas Keller Mar 18 '15 at 14:40
  • That is the stable linux public repo. Looking at Torvalds repo might not be same as looking at this repo. – Milind Dumbare Mar 18 '15 at 15:13
  • 1
    I did not know there are more repos. How did you find it? Do you know where I could read more about which repo is for what purpose ? – Thomas Keller Mar 18 '15 at 18:17
  • If you browse git.kernel.org/cgit There are like 100s of repos. You can even search on the upper right corner – Milind Dumbare Mar 18 '15 at 18:20
  • 1
    but there are several repos called "stable". How do I know this is the one I need ? – Thomas Keller Mar 18 '15 at 18:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.