Commit Graph

9 Commits

Author SHA1 Message Date
Sebastian Lackner
f66b06739e patchutils.py: Speed improvement for hunk parsing (approximately by a factor of 2).
We don't need to keep the whole line in memory, the first character is sufficient.
Moreover, exception handling is faster in python than explicitly checking for None.
2014-11-04 06:49:35 +01:00
Sebastian Lackner
c45a17079d Explicitly run patch scripts with python2 (since Archlinux has 3 installed by default). 2014-09-01 21:32:23 +02:00
Sebastian Lackner
368f765134 patchupdate.py: Ensure patch commandline utility never assumes reversed patches. 2014-08-08 00:00:32 +02:00
Sebastian Lackner
60632bb522 patchutils.py: Silence output of patch commandline utility. 2014-07-25 21:57:46 +02:00
Sebastian Lackner
6db9cf0e65 patchutils.py: Add license header, remove unnecessary variables. 2014-07-25 20:50:16 +02:00
Sebastian Lackner
e99ff32949 gitapply.sh: Add license, check for dependencies before proceeding, several smaller improvements. 2014-07-25 19:49:56 +02:00
Sebastian Lackner
e827cc078f patchupdate.py: Improve patch system and remove dependencies, when the order of patches doesn't matter. 2014-07-25 16:39:08 +02:00
Sebastian Lackner
80e51dcad6 patchutils.py: Remove unused functions min_{source,dest}_size. 2014-07-25 04:03:28 +02:00
Sebastian Lackner
f69c6a545c Use patchutils.py to parse patch files and split them into individual changes. 2014-07-25 03:32:01 +02:00