From 1d537bc05263c519f0a0ef525c5d328511654b47 Mon Sep 17 00:00:00 2001 From: Falko Zurell Date: Tue, 5 Dec 2023 11:43:49 +0100 Subject: [PATCH] added some documentation about the workflow Signed-off-by: Falko Zurell --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index eab88ca..bd552d5 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,14 @@ # mastodon-character-increase -mastodon char increase \ No newline at end of file +mastodon char increase as documentated at https://write.as/sweetmeat/customize-mastodon-to-change-your-post-character-limit + + +### Workflow: + +1. check out the mastodon original code +1. check out the Tag your want to patch for (e.q. `git checkout v.4.2.2`) +1. create a new branch from the tag: `git checkout -b v4.2.2-maxChar500` +1. modify the files that need to be modified +1. create the diff patch file: `mastodon git:(v4.2.2-maxChar5000) git format-patch --stdout v4.2.2` +1. verify the patch and save into this repo: `mastodon git:(v4.2.2-maxChar5000) git format-patch --stdout v4.2.2 > ../mastodon-character-increase/character-limit-patch.patch/v4.2.2-increase-character-limit-from-500-to-5000.patch` +