summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Pseudo-handle the "can't find file to patch at input line X" errorHEADmasterJan Pokorný2013-10-141-0/+4
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* README: reword one expressionJan Pokorný2013-10-111-1/+1
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* README: some clarificationsJan Pokorný2013-10-101-2/+4
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* Refresh and update READMEJan Pokorný2013-10-101-15/+19
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* fix-offsets: teach script to do paths standardization (default)Jan Pokorný2013-10-101-5/+27
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* patch-fix-offsets: fix extra leading debug remnantsJan Pokorný2013-10-101-1/+0
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* patch-fix-offsets: actually I prefer the same indentation case+casesJan Pokorný2013-10-101-18/+18
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* Add proper README and patch-fix-offsets (recommended!) wrapperJan Pokorný2013-10-102-0/+106
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* Do not allow for duplicated output hunks (same start source line)Jan Pokorný2013-10-101-11/+47
| | | | | | plus some cleanup Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* "misordered hunks" guard: skip moving very first hunkJan Pokorný2013-10-091-5/+4
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* Allow offset to be change by manual specification (at least :)Jan Pokorný2013-10-091-3/+28
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* Add a "critical adjustment" as a "misordered hunks" guardJan Pokorný2013-10-091-1/+9
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* Fix extraneous newlines after hunksJan Pokorný2013-10-091-1/+1
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* Fix issues with patches with low entropy in the contextJan Pokorný2013-10-091-34/+65
| | | | | | | | | | | | -> push for offsets being more close to the average delta Note: this is not overly nice solution, better would be to grab the output of patch utility applied to all the hunks for respective file, but this will limit us in the future (planned) per failing hunk handling. We can always return to the point prior to this commit :) Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* Speed up a bit by threadingJan Pokorný2013-10-081-16/+50
| | | | | | | | | | | | | | | | | | $ time fix-offsets -p1 ../nongit1.patch > ../nongit2.patch before: > real 0m0.472s > user 0m0.202s > sys 0m0.262s after: > real 0m0.296s > user 0m0.188s > sys 0m0.217s Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* Strip the trailing .py from the script for convenienceJan Pokorný2013-10-081-0/+0
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* Initial commitJan Pokorný2013-10-083-0/+142
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>