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

Re: nightly tarballs of git

From
Jakub Narebski <jnareb@gmail.com>
Date
Sep 14, 2006, 19:48 UTC
Message-ID
<eecblv$gh5$1@sea.gmane.org>
In-Reply-To
<20060914193616.GA32735@redhat.com>
Dave Jones wrote:
Show 10 quoted lines
> I don't recall ever having done anything at all in the dir that
> is being snapshotted. So the only thing that should be happening
> is the side-effects of the script.  Here it is in its entirity..
> 
> DATE=`date +%Y-%m-%d`
> 
> PROJ="git"
> cd ~/git-trees
> if [ -d $PROJ ]; then
>   cd $PROJ
Just in case I would add "git checkout master" here.
Show 7 quoted lines
>   git pull -n
> else
>   git clone -q git://git.kernel.org/pub/scm/git/git.git
>   cd $PROJ
> fi
> snap=git-snapshot-$(date +"%Y%m%d")
> git-tar-tree HEAD $snap | gzip -9 > $PROJ-$DATE.tar.gz
And what is the HEAD? Perhaps you should say 'origin' here instead?
-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
Previous: Dave JonesNext: Junio C Hamano
Message 4 of 9 in “Re: nightly tarballs of git”
  1. Dave JonesSep 14, 2006
  2. Junio C HamanoSep 14, 2006
  3. Dave JonesSep 14, 2006
  4. Jakub NarebskiSep 14, 2006
  5. Junio C HamanoSep 14, 2006
  6. Dave JonesSep 16, 2006
  7. Jakub NarebskiSep 16, 2006
  8. Junio C HamanoSep 16, 2006
  9. Dave JonesSep 17, 2006

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.