On 9/11/07, Johannes Schindelin <Johannes.Schindelin@xxxxxx> wrote: > On Mon, 10 Sep 2007, Ralf Baechle wrote: > > > 1) In a repository have .git/objects/info/alternates point back to the > > repository's object directory. > > What exactly did you think it would do? Hi Johannes, Recently, I have been through several machines at work adding a canonical "/var/cache/git" under which we add bare repos that track the "master" repos. After that, I add the paths to those repos to alternates of any git checkout in the machine, and git repack -a -d all of them. Luckily, I did make an exception for the repos in /var/cache/git, so it didn't hit me, but I did it mostly thinking of correctness, and avoiding unneeded work. It would have blown my repos in /var/cache, which I don't think is good. Both git gc (as an end-user script) and us -- we all need to be a bit more friendly to newbies. ;-) martin - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html