No description
Find a file
Falko Zurell 90fc350467 new patch for Mastodon v4.3.x
Signed-off-by: Falko Zurell <falko@zurell.de>
2024-10-08 15:29:42 +02:00
character-limit-patch.patch new patch for Mastodon v4.3.x 2024-10-08 15:29:42 +02:00
.gitignore updated README to include apply cmd 2024-02-14 16:53:20 +01:00
README.md updated README to include apply cmd 2024-02-14 16:53:20 +01:00

mastodon-character-increase

mastodon char increase as documentated at https://write.as/sweetmeat/customize-mastodon-to-change-your-post-character-limit

https://1010.gitlab.io/posts/customize-mastodon-character-limit/

Workflow:

  1. check out the mastodon original code
  2. check out the Tag your want to patch for (e.q. git checkout v.4.2.2)
  3. create a new branch from the tag: git checkout -b v4.2.2-maxChar500
  4. modify the files that need to be modified (e.q. git apply ../mastodon-character-increase/character-limit-patch.patch/v4.2-increase-character-limit-from-500-to-5000.patch )
  5. commit the changes to your branch: git commit
  6. create the diff patch file: mastodon git:(v4.2.2-maxChar5000) git format-patch --stdout v4.2.2
  7. 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