3

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 ?

1
  • 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 Mar 18, 2015 at 11:44

1 Answer 1

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
6
  • what repository is that ? Mar 18, 2015 at 14:40
  • That is the stable linux public repo. Looking at Torvalds repo might not be same as looking at this repo. Mar 18, 2015 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 ? Mar 18, 2015 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 Mar 18, 2015 at 18:20
  • 1
    but there are several repos called "stable". How do I know this is the one I need ? Mar 18, 2015 at 18:39

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .