From: Johannes Sixt Date: Wed, 13 Feb 2008 13:43:23 GMT Subject: Re: git-archive for files changed in revision range Message-ID: <47B2F3FB.3020600@viscovery.net> In-Reply-To: <20080213130304.GA19957@grahamcox.co.uk> Graham Cox schrieb: > The command line I used was something like (This is mostly from memory): > git-archive --format=zip . `git-whatchanged ..HEAD --pretty=oneline > | grep '^:' | sed 's/^.*\t//'` > release.zip > > To produce a zip containing all of the modified and added files for the > revision range ..HEAD. git diff-tree -r --name-only -z HEAD | \ xargs -0 git archive --format=zip HEAD > release.zip -- Hannes