mirror of
https://github.com/odoo/runbot.git
synced 2025-03-19 17:35:45 +07:00
![]() Hopefully this is the last fix to the patcher. From the start of the implementation I relied on the idea that `git show` was adding a line composed of a single space (and a newline) before and after the patch message, as that is what I observed in my terminal, and it's consistent with RFC 3676 signatures (two dashes, a space, and a newline). Turns out that single space, while present in my terminal indeed, was completely made up by `less(1)`. `git show` itself doesn't generate that, neither does it appear when using most pagers, or even when piping the output of `less` into something (a file, an other pager, ...). It's pretty much just something `less(1)` sends to a terminal during interactive sessions to fuck with you. Fixes #1037 |
||
---|---|---|
.. | ||
backport | ||
crons | ||
project_freeze | ||
staging_cancel | ||
__init__.py | ||
batch.py | ||
commands.py | ||
events_sources.py | ||
ir_actions.py | ||
ir_ui_view.py | ||
mail_thread.py | ||
patcher.py | ||
project.py | ||
pull_requests.py | ||
res_partner.py | ||
stagings_create.py | ||
utils.py |