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

Re: dangling commits.

From
DJDave Jones <davej@redhat.com>
Date
May 20, 2006, 23:49 UTC
Message-ID
<20060520234911.GA30269@redhat.com>
In-Reply-To
<Pine.LNX.4.64.0605201615270.3649@g5.osdl.org>
On Sat, May 20, 2006 at 04:19:06PM -0700, Linus Torvalds wrote:
 > > What's wrong here?
 > 
 > Nothing, except
 > 
 >  - you used rsync to fetch the thing (so you get all objects, regardless 
 >    of whether they are reachable or not)
Ah. I actually noticed this when I poked around the box that does
the nightly snapshots, and wondered for a few minutes why I never
switched it over to git:// last time I poked at that script.
Then it came back to me: rsync -q worked better than redirecting
git to /dev/null
- git-clone's -q was still outputting some stuff, so recloning each
  time the cronjob ran wasn't an option,
- subsequent git pull's were noisy too

When run from a cronjob, unless something fatal happens, I basically never want to get mail from the snapshotting script.

 >  - junio re-bases his "pu" branch, and I just end up following him (I 
 >    should stop exporting git entirely, here's no point, really).

I just updated the snapshot script to pull from http://www.kernel.org/pub/scm/git/git.git/ instead.

thanks,
		Dave
-- 
http://www.codemonkey.org.uk
Previous: Linus Torvalds
Message 4 of 4 in “dangling commits.”
  1. Dave JonesMay 20, 2006
  2. SeanMay 20, 2006
  3. Linus TorvaldsMay 20, 2006
  4. Dave JonesMay 20, 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.