git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Linus Torvalds <torvalds@linux-foundation.org>
To: "J. Bruce Fields" <bfields@citi.umich.edu>
Cc: Junio C Hamano <junkio@cox.net>, git@vger.kernel.org
Subject: Re: [PATCH 06/10] user-manual: move howto/make-dist.txt into user manual
Date: Mon, 14 May 2007 10:44:26 -0700 (PDT)	[thread overview]
Message-ID: <alpine.LFD.0.98.0705141043080.6739@woody.linux-foundation.org> (raw)
In-Reply-To: <11791560892667-git-send-email->



On Mon, 14 May 2007, J. Bruce Fields wrote:
>
> +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

  parent reply	other threads:[~2007-05-14 17:45 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <11791560893572-git-send-email->
2007-05-14 15:21 ` [PATCH 02/10] user-manual: revise birdseye-view chapter J. Bruce Fields
2007-05-15  0:07   ` Junio C Hamano
2007-05-15  2:58     ` J. Bruce Fields
     [not found] ` <1179156089759-git-send-email->
2007-05-14 15:21   ` [PATCH 03/10] glossary: expand and clarify some definitions, prune cross-references J. Bruce Fields
2007-05-14 17:00     ` Jakub Narebski
2007-05-17  4:30       ` J. Bruce Fields
     [not found]   ` <11791560893022-git-send-email->
2007-05-14 15:21     ` [PATCH 04/10] user-manual: move quick-start to an appendix J. Bruce Fields
     [not found]     ` <11791560891179-git-send-email->
2007-05-14 15:21       ` [PATCH 05/10] Documentation: remove howto's now incorporated into manual J. Bruce Fields
     [not found]       ` <1179156089470-git-send-email->
2007-05-14 15:21         ` [PATCH 06/10] user-manual: move howto/make-dist.txt into user manual J. Bruce Fields
     [not found]         ` <11791560892667-git-send-email->
2007-05-14 15:21           ` [PATCH 07/10] user-manual: move howto/using-topic-branches into manual J. Bruce Fields
     [not found]           ` <11791560901-git-send-email->
2007-05-14 15:21             ` [PATCH 08/10] user-manual: add a "counting commits" example J. Bruce Fields
     [not found]             ` <11791560901645-git-send-email->
2007-05-14 15:21               ` [PATCH 09/10] user-manual: introduce git J. Bruce Fields
     [not found]               ` <1179156090113-git-send-email->
2007-05-14 15:21                 ` [PATCH 10/10] user-manual: listing commits reachable from some refs not others J. Bruce Fields
2007-05-14 16:30             ` [PATCH 07/10] user-manual: move howto/using-topic-branches into manual Luck, Tony
2007-05-14 17:11               ` [PATCH] user-manual: fix origin/linus confusion in topic-branches example J. Bruce Fields
2007-05-14 17:44           ` Linus Torvalds [this message]
2007-05-14 21:39             ` [PATCH 06/10] user-manual: move howto/make-dist.txt into user manual J. Bruce Fields

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LFD.0.98.0705141043080.6739@woody.linux-foundation.org \
    --to=torvalds@linux-foundation.org \
    --cc=bfields@citi.umich.edu \
    --cc=git@vger.kernel.org \
    --cc=junkio@cox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).