olc/mmr-patches

Andrew Bartlett abartlet at samba.org
Tue Feb 24 02:40:45 MST 2009


On Tue, 2009-02-24 at 09:58 +0100, Oliver Liebel wrote:
> Andrew Bartlett schrieb:
> > On Mon, 2009-02-23 at 20:04 +0100, Oliver Liebel wrote:
> >   
> >> hi andrew,
> >>
> >> i hope, the following descriptions of all made modifications/additions and
> >> extensions are clear enough, and that i have created the commit-message 
> >> in the right way.
> >> otherwise please give me a short help / advice, and i will correct them 
> >> according
> >> to your specifications.
> >>     
> >
> > The best way to create patches is to use git format-patch
> >
> > So, if you create 3 commits on top of the git tree with your changes,
> > you can then run:
> >
> > git format-patch -3
> >
> > And forward me and the list the output.  That makes it really easy for
> > me to apply it correctly.  
> >
> > Andrew Bartlett 
> >   
> sorry, i am not very familiar with git.

Ahh, that makes more sense now. 

How have you been checking out Samba4 for your testing?

Anyway, for an introduction to git see:
http://wiki.samba.org/index.php/Using_Git_for_Samba_Development

The branch to checkout is 'master'. 

> the complete patch includes 2 diffs and about 12 config/ldif files.
> do i have to run the command above for every single file?

The basic pattern once you have a local git checkout is:

git add <all new and changed files for this commit>
git commit
(then provide a commit message)

repeat for each commit you wish to create

Then run git format-patch -3 (if you created 3 commits)

Mail me the result.

> the only output i get when running "git format-patch" is:
> 
> error: object directory /data/git/samba.git/objects does not exist;
> check .git/objects/info/alternates.
> fatal: bad object HEAD

Yeah, that's because you are not in a git checkout.

If it's all too much then I'll happily do it for you, but I wanted to
give you the chance to set up properly, so we can both work more easily
in future.

Thanks,

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Red Hat Inc.                  http://redhat.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20090224/6fb70229/attachment.bin


More information about the samba-technical mailing list