Hiya, We have a small project that is being managed in a Git repository (MSysGit = to=20 be exact) - mostly for backups and so on. The project is a mod for the=20 computer game Civilization 4. (Actually a mod of a mod, but still...) As= =20 such, to release the mod to other people to actually use the only thing tha= t=20 needs to be released is all of the files that have actually been changed. (= The=20 actual git repository contains ~700MB of files, the vast majority of which= =20 haven't changed since the initial import and so don't need to be downloaded= by=20 people). I've managed to make it produce an archive that contains only the files tha= t=20 have changed by using a combination of git-archive and git-whatchanged, alo= ng=20 with grep and sed, but it's kinda unwieldly. Is there a better way of doing= =20 this? The command line I used was something like (This is mostly from memory): git-archive --format=3Dzip . `git-whatchanged <start>..HEAD --pretty=3Donel= ine=20 | grep '^:' | sed 's/^.*\t//'` > release.zip To produce a zip containing all of the modified and added files for the=20 revision range <start>..HEAD. --=20 Graham Cox
| Mariusz Kozlowski | [PATCH 01] kmalloc + memset conversion co kzalloc |
| Rafael J. Wysocki | [Bug #10629] 2.6.26-rc1-$sha1: RIP __d_lookup+0x8c/0x160 |
| Vladislav Bolkhovitin | Re: Integration of SCST in the mainstream Linux kernel |
| Jeff Garzik | Re: [RFC] Heads up on sys_fallocate() |
git: | |
| Linus Torvalds | Re: [GIT]: Networking |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Andrew Morton | Re: [BUG] New Kernel Bugs |
