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
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| Roland McGrath | Re: Linus 2.6.23-rc1 |
| James Bottomley | Re: Announce: Linux-next (Or Andrew's dream :-)) |
| Greg Kroah-Hartman | [PATCH 004/196] Chinese: add translation of SubmittingPatches |
git: | |
| Gerrit Renker | [PATCH 13/37] dccp: Deprecate Ack Ratio sysctl |
| Corey Minyard | [PATCH 3/3] Convert the UDP hash lock to RCU |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| David Miller | [GIT]: Networking |
