summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
Diffstat (limited to 'README')
-rw-r--r--README6
1 files changed, 4 insertions, 2 deletions
diff --git a/README b/README
index 9878907..a949950 100644
--- a/README
+++ b/README
@@ -7,14 +7,16 @@ offsets. You want convenient, non-tedious way to get perfectly fitting one.
How to achieve it:
$ patch-fix-offsets -p1 wrongoffsets.patch > goodoffsets.patch
+$ # alternatively in pipe with recountdiff for extra sanity
Alternatives:
1. apply patch and rediff (possibly changing the format of the patch!)
-$ cp -R <project within which to apply the patch>{,.orig}
+$ cp -pR ${PROJECT_DIR}{,.orig}
$ patch -p1 <wrongoffsets.patch
-$ diff -urN <project within which to apply the patch>{.orig,} > goodoffsets.patch
+$ diff -urN ${PROJECT_DIR}{.orig,} > goodoffsets.patch
+$ mv ${PROJECT_DIR}{.orig,}
TBD: wiggle, merge, ...