Making Patches

Ask for help regarding any technical issue or report any bug or OS independent issues.
Post Reply
User avatar
TomMan71
Novice
Novice
Posts: 60
Joined: 09 Apr 2009, 07:55
Location: England

Making Patches

Post by TomMan71 »

I am very interested in helping with this project but I have no idea on how to make patches with git. So, if someone could help me with doing this I would be very happy.
How should I know if it works? That's what beta testers are for. I only coded it.
-- Attributed to Linus Torvalds, somewhere in a posting
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: 25 Aug 2005, 16:08
Location: Germany

Re: Making Patches

Post by Crush »

Nice to read that you want to help.

I assume that you already have git installed, used it to clone the sourcecode repository and that you know how to use a command prompt on your operating system. When this assumption is wrong please say so and I will explain you the details.

1. git add <filename> to add the files you want to include in your patch to the index
2. git commit -m "Description of your changes" to create a commit with the changes you added
3. git format-patch to create a patch file with your commit
  • former Manasource Programmer
  • former TMW Pixel artist
  • NOT a game master

Please do not send me any inquiries regarding player accounts on TMW.


You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
User avatar
TomMan71
Novice
Novice
Posts: 60
Joined: 09 Apr 2009, 07:55
Location: England

Re: Making Patches

Post by TomMan71 »

Thanks, that really helps! :D
How should I know if it works? That's what beta testers are for. I only coded it.
-- Attributed to Linus Torvalds, somewhere in a posting
Post Reply