_ [debian] patch 2.6-1

The patch versions shipped in Debian Etch and Lenny (2.5.9-4 and 2.5.9-5) contained two patches that would create reject files in unified format, and collect all rejects in a single, “global” reject file. These patches are now part of patch 2.6.

ref. /usr/share/doc/patch/NEWS.Debian.gz

ということで、Debian に独自に入っていた機能が upstream に入ったようだ。rej ファイルが unified 形式で出力される機能はよく使ってた。単一 rej ファイル機能は知らなかった。注意点として、

  • -U or –unified-reject-files is now –reject-format=format. Additionally, reject files will automatically be in unified format if the input patch is in that format.
ref. /usr/share/doc/patch/NEWS.Debian.gz

オプションが変更になったことと、パッチファイルが unified 形式なら rej ファイルも自動的に unified 形式になるようだ。