git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: J. Bruce FieldsNext: J. Bruce Fields
Message 16 of 17 in “user-manual: revise birdseye-view chapter”
  1. 02/10 user-manual: revise birdseye-view chapterJ. Bruce Fields, May 14, 2007
  2. Junio C HamanoMay 15, 2007
  3. J. Bruce FieldsMay 15, 2007
  4. 03/10 glossary: expand and clarify some definitions, prune cross-referencesJ. Bruce Fields, May 14, 2007
  5. Jakub NarebskiMay 14, 2007
  6. J. Bruce FieldsMay 17, 2007
  7. 04/10 user-manual: move quick-start to an appendixJ. Bruce Fields, May 14, 2007
  8. 05/10 Documentation: remove howto's now incorporated into manualJ. Bruce Fields, May 14, 2007
  9. 06/10 user-manual: move howto/make-dist.txt into user manualJ. Bruce Fields, May 14, 2007
  10. 07/10 user-manual: move howto/using-topic-branches into manualJ. Bruce Fields, May 14, 2007
  11. 08/10 user-manual: add a "counting commits" exampleJ. Bruce Fields, May 14, 2007
  12. 09/10 user-manual: introduce gitJ. Bruce Fields, May 14, 2007
  13. 10/10 user-manual: listing commits reachable from some refs not othersJ. Bruce Fields, May 14, 2007
  14. Luck, TonyMay 14, 2007
  15. user-manual: fix origin/linus confusion in topic-branches exampleJ. Bruce Fields, May 14, 2007
  16. Linus TorvaldsMay 14, 2007
  17. J. Bruce FieldsMay 14, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.