Hi, Dear diary, on Wed, Feb 15, 2006 at 01:19:07PM CET, I got a letter where Martin Mares <mj@ucw.cz> said that... > I'm playing with a shared repository and I am still unable to get the > file and directory permissions kept correctly, that is writeable to > a group. > > Setting the `core.sharedrepository' flag helps a bit, but not completely: > the object files and directories are group-writeable, but for example new > head refs aren't. actually, this is not necessary, since when pushing to shared repositories, the new ref is created in the directory as a lockfile and then moved over the original ref - this makes the ref updating safe and raceless, while also making it enough to have the refs directory group-writable. Therefore, it shouldn't be actually necessary to meddle with umask anymore. The documentation is obsolete; I'll remove the relevant bits from Cogito docs. -- Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ Of the 3 great composers Mozart tells us what it's like to be human, Beethoven tells us what it's like to be Beethoven and Bach tells us what it's like to be the universe. -- Douglas Adams - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.htmlReceived on Thu Feb 16 00:06:44 2006
This archive was generated by hypermail 2.1.8 : 2006-02-16 00:06:55 EST