2008-10-08 11:16:15     SVN versus GIT

Document created by Aaronwu Employee on Sep 25, 2013
Version 1Show Document
  • View in full screen mode

2008-10-08 11:16:15     SVN versus GIT

Frank Van Hooft (CANADA)

Message: 63275   


I was just wondering where we should be getting the latest sources from: SVN or GIT?  Or are they exact mirrors of each other?


At the moment I'm using SVN. But poking around the u-boot R1.5 release files on this site, it _appears_ there's been more recent activity on the GIT repository than there's been on the SVN repository. But, I could just be looking at it all wrong.


Anyway, any recommendations on which repository we should be grabbing files from would be appreciated. Thanks.




2008-10-08 13:40:02     Re: SVN versus GIT

Mike Frysinger (UNITED STATES)

Message: 63276   


as the git webpage says, it is an exact read-only mirror of svn




2008-10-08 14:08:20     Re: SVN versus GIT

Frank Van Hooft (CANADA)

Message: 63278   






2010-08-31 11:31:09     Re: SVN versus GIT

Rob Maris (GERMANY)

Message: 92973   


Yesterday, I loaded git distribution. Contrary to SVN, linux kernel is not included. I suppose that the presense of /linux-2.6.x in .gitignore allows for placing the kernel repository without conflicts.




2010-08-31 11:38:59     Re: SVN versus GIT

Mike Frysinger (UNITED STATES)

Message: 92974   


yes.  although the svn linux-2.6.x is only a link to the linux-kernel repo ... it isnt directly included either.


i believe git submodules might be useful here, but i'm not entirely sure how that works.  every time ive tried, ive just screwed things up.




2010-09-01 04:21:35     Re: SVN versus GIT


Message: 93012   


I use git, and both uclinux-dist and linux-kernel as submodules of my own git repository.


uclinux-dist/linux-2.6.x is symlink to ../linux-kernel


In my root directory  Makefile calls uclinux Makefile:


BFINDIR = /opt/bfin-2010-06-15

TOOLS1 = $(BFINDIR)/bfin-linux-uclibc/bin

TOOLS2 = $(BFINDIR)/bfin-uclinux/bin

TOOLS3 = $(BFINDIR)/bfin-elf/bin


TRIKOMDIR = $(shell pwd)


all %: uclinux-dist/Makefile

  $(MAKE) -C uclinux-dist \



    STAGEDIR=$(TRIKOMDIR)/.staging \

    ROMFSDIR=$(TRIKOMDIR)/.rootfs \

    IMAGEDIR=$(TRIKOMDIR)/.images \

    DL=$(TRIKOMDIR)/.dl \




    git submodule update --init

    touch Makefile