On Tue, 2010-07-20 at 13:22 -0700, Dominik Gront wrote: > Dear Group, > > I have been a happy SVN user for quite a long time, but now I miss > some functionality in Subversion. I wonder if it could be done in git. > If so, I convert to git right away :-) > > There are some files in our repository that all their modification > need to be approved by a project leader. In general the desired > behavior would be (examples given in svn commands) : > - user runs "svn ci" > - some files have status "pending" or "waiting for approval" > - anyone can do "svn up", modifications to the pending files are not > retrieved, project leader can get the modified versions > - project leader accepts the changes > - anyone running "svn ci" sees all the modifications > > Best, > Tim Hi, Git itself does not allow what you want but the workflow used to work with git does. Each developer work and on a "copy" of the "blessed" repository (the one checked out in svn, cloned in git) so it does not matter if modifications done to a file need approval or not. Once the developer is happy with his work he has to send his commit(s) to the person(s) in charge of maintaining the project and this/those people will review the changes and push (commit in svn language) them to the "blessed" repository if they are ok with the changes made. With git, if not used like svn, all modifications need approval. You can read more about git's distributed workflow here : http://progit.org/book/ch5-1.html Regards. -- Sylvain Rabot <sylvain@xxxxxxxxxxxxxx>
Attachment:
signature.asc
Description: This is a digitally signed message part