Sending GIT patches

"Thomas Leonard" <[email protected]>
Newsgroups gmane.comp.desktop.rox.devel
Message-ID <[email protected]>
I've updated the GIT documentation a bit:

http://roscidus.com/desktop/using-git

http://roscidus.com/desktop/node/80 (making patches)

It's easier for us to apply patches if you create commits for them, e.g.

  $ git commit -a

To check your patch:

  $ git show

To correct a mistake:

  $ git commit -a --amend

To create a file for emailing to this list:

  $ git format-patch origin/master

Otherwise, any developer applying your patch has to write their own log message,
enter your name and email address, etc, and there's a good chance two developers
will apply the same patch with different messages! This can they can
just "git apply" it.

Even better (especially if you want to send lots of patches) is to
click on the "fork"
button here (at the top):

  http://repo.or.cz/w/rox-filer.git

Upload your patches there and then ask people to merge them. This is even easier
for people than using git-apply, and ensures that if two developers
merge it then GIT
will see it as a single patch that was merged twice, not as two separate patches
(which can cause problems when merging).


-- 
Dr Thomas Leonard	ROX desktop / Zero Install
GPG: 9242 9807 C985 3C07 44A6 8B9A AE07 8280 59A5 3CC1

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.