Re: [PATCH 06/10] user-manual: move howto/make-dist.txt into user manual
- From
Linus Torvalds <torvalds@linux-foundation.org>
- Date
- May 14, 2007, 17:44 UTC
- Message-ID
- <alpine.LFD.0.98.0705141043080.6739@woody.linux-foundation.org>
- In-Reply-To
- <11791560892667-git-send-email->
On Mon, 14 May 2007, J. Bruce Fields wrote:
Show 14 quoted lines
> > +where release-script is a shell script that looks like: > + > +------------------------------------------------- > +#!/bin/sh > +stable="$1" > +last="$2" > +new="$3" > +echo "# git-tag v$new" > +echo "git-tar-tree v$new linux-$new | gzip -9 > ../linux-$new.tar.gz" > +echo "git-diff-tree -p v$stable v$new | gzip -9 > ../patch-$new.gz" > +echo "git-rev-list --pretty v$new ^v$last > ../ChangeLog-$new" > +echo "git-rev-list --pretty=short v$new ^v$last | git-shortlog > ../ShortLog" > +echo "git-diff-tree -p v$last v$new | git-apply --stat > ../diffstat-$new"
Actually, these days it looks more like
#!/bin/sh stable="$1" last="$2" new="$3" echo "# git tag v$new" echo "git archive --prefix=linux-$new/ v$new | gzip -9 > ../linux-$new.tar.gz" echo "git diff v$stable v$new | gzip -9 > ../patch-$new.gz" echo "git log --no-merges v$new ^v$last > ../ChangeLog-$new" echo "git shortlog --no-merges v$new ^v$last > ../ShortLog" echo "git diff --stat --summary -M v$last v$new > ../diffstat-$new"
ie I'm using more modern versions of the git tools ;)
Linus