lkml.org 
[lkml]   [2013]   [Mar]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [git.k.o] Add git archive $remote-repository support?
From
( More background infos see [1]. )

Here as an example to extract kbuild-system from $repository:

repository="git://repo.or.cz/linux-2.6.git"

paths="scripts/basic,scripts/kconfig,scripts/Kbuild.include,scripts/Makefile.build,scripts/Makefile.host,scripts/Makefile.lib"

version="v3.8"

$ git archive --verbose --format=tar --remote="$repository"
--prefix="kbuild-$version/" $version $paths | tar -xv

NOTE: <git://repo.or.cz/linux-2.6.git> supports remote-git-archive support.

Can you implement this?

- Sedat -

[1] http://marc.info/?l=linux-kernel&m=136231049311175&w=2


\
 
 \ /
  Last update: 2013-03-03 14:41    [W:0.032 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site