Re: Git gives you plenty of rope ...

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

 



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

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux