Re: [git.k.o] Add git archive $remote-repository support?

From: Sedat Dilek
Date: Sun Mar 03 2013 - 07:51:47 EST


( 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/