savannah-hackers-public
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Savannah-hackers-public] git usage


From: Thien-Thi Nguyen
Subject: Re: [Savannah-hackers-public] git usage
Date: Sun, 05 Aug 2012 19:33:00 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux)

() address@hidden (Karl Berry)
() Sat, 4 Aug 2012 22:24:59 GMT

   Savannah now has a monthly cron job that does some git maintenance
   on all repos (thanks to Jim Meyering).  Does this suffice for your
   needs?

   [script]

Yes, partially (one of two) -- thanks!

(In June, i had somehow pushed an entirely separate dag into the ‘rcs’
repo (from a private repo).  As a result, ‘git fsck --root’ showed two
lines, and of course, the private dag was accessible if one could guess
a valid commit id (SHA1).  The fix is to remove all references and gc.
I did the former immediately, w/in 5 minutes of discovering the error,
and it looks to me that the script does the latter.  I confirm that a
cgit (web) probe now yields "Bad object id", as expected.  Cool!)

The other need (two of two), i will address in the other thread.

-- 
Thien-Thi Nguyen ..................................... GPG key: 4C807502
.                  NB: ttn at glug dot org is not me                   .
.                 (and has not been since 2007 or so)                  .
.                        ACCEPT NO SUBSTITUTES                         .
........... please send technical questions to mailing lists ...........

Attachment: pgpfxDVzPenRe.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]