Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

how to use the patch #1

Open
Tonyt8 opened this issue Mar 25, 2021 · 1 comment
Open

how to use the patch #1

Tonyt8 opened this issue Mar 25, 2021 · 1 comment

Comments

@Tonyt8
Copy link

Tonyt8 commented Mar 25, 2021

Hi Michael,

I would like to try your koken patch. Thanks for supplying it.
How do I use it?

Thanks,
Regards, Tony

@mbolli
Copy link
Owner

mbolli commented Mar 26, 2021

Normally to apply the patch you only need to

git apply /path/to/some-changes.patch

But that probably does not work due to different source files than me.

The best you can do is therefore to download a diff/patch viewer and open the patch file in it. It's important to get one who can ignore space/tab changes.

Or you can do it manually (the patch file is a human-readable text file after all).
Each file change starts with this intro. It's nicely explained in this article.

Index: app/application/controllers/albums.php
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/app/application/controllers/albums.php b/app/application/controllers/albums.php
--- a/app/application/controllers/albums.php	(revision 1ec66129a3fb9cc8d3f893df9788096ddb7d0161)
+++ b/app/application/controllers/albums.php	(revision 6a1d683a72696f350a9c364449e5e4fed79c4116)
@@ -1,1018 +1,857 @@

@mbolli mbolli pinned this issue Jul 20, 2022
@mbolli mbolli mentioned this issue Feb 7, 2023
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants