Messages in this thread | | | Date | Sun, 3 Mar 2013 13:51:42 +0100 | Subject | Re: [git.k.o] Add git archive $remote-repository support? | From | Sedat Dilek <> |
| |
( 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
| |