lkml.org 
[lkml]   [2013]   [Jan]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectComparing linux kernel trees.
From
Hi,

I have been given a linux kernel sources tar file.
It contains a modified version of the linux kernel.
It is just source files, without any "git" history.
What I would like to do is compare this with the mainline linux kernel
git tree, and find the tag from the kernel git tree that this source
code is most similar to.
E.g. Finding the source code is really kernel 3.2.1 with some minor changes.
My plan at the moment is just to automate a checkout of every git tag,
then run diff -ur on it, and then choose the smallest diff file
output.
But, has anyone got a better method?

Kind Regards

James


\
 
 \ /
  Last update: 2013-01-20 12:41    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog