[YBA] diff'ing kernel source trees

[YBA] diff'ing kernel source trees

Jonathan Ben Avraham yba at tkos.co.il
Sun Feb 3 19:19:02 IST 2013


Hi Elazar,
Good idea.
Unfortunately neither tree has .git. One tree is from TI dvsdk402_psp and 
the other tree is from a vendor who made many additions and changes to 
the TI dvsdk402_psp kernel. The dvsdk402_psp kernel is based on 2.6.32.17.
Thanks,

  - yba


On Sun, 3 Feb 2013, Elazar Leibovich wrote:

> Date: Sun, 3 Feb 2013 19:07:11 +0200
> From: Elazar Leibovich <elazarl at gmail.com>
> To: Jonathan Ben Avraham <yba at tkos.co.il>
> Cc: ILUG <linux-il at cs.huji.ac.il>
> Subject: Re: [YBA] diff'ing kernel source trees
> 
> Can't you copy one tree into the other and then use git diff? (Assuming at least one of them
> has a git repo it came from).
> 
> 
> On Sun, Feb 3, 2013 at 6:36 PM, Jonathan Ben Avraham <yba at tkos.co.il> wrote:
>       Hi Linux-IL colleagues,
>       To diff two kernel trees based on the same version from the mainline, one of
>       which might have been built, I assume that doing "make clean" in the tree that
>       was built and then recursively diff'ing each
>
>       .c
>       .h
>       .S
>       .sh
>       .pl
>       *defconfig
>       Makefile
>       Kconfig
>
>       is sufficient. Are there other files I should diff? Is there a list or regex in
>       any of the FAQ's that has this specification?
>
>       I tried the recommended "diff -Naur -X ./Documentation/dontdiff" but it still
>       diff'ed a lot of binaries.
>
>        - yba
> 
>
>       --
>        EE 77 7F 30 4A 64 2E C5  83 5F E7 49 A6 82 29 BA    ~. .~   Tk Open Systems
>       =}------------------------------------------------ooO--U--Ooo------------{=
>            - yba at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
>
>       _______________________________________________
>       Linux-il mailing list
>       Linux-il at cs.huji.ac.il
>       http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
> 
> 
> 
>

-- 
  EE 77 7F 30 4A 64 2E C5  83 5F E7 49 A6 82 29 BA    ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
      - yba at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -


More information about the Linux-il mailing list