From: Jonathan Tan Date: Wed, 2 Nov 2016 17:29:19 +0000 (-0700) Subject: trailer: have function to describe trailer layout X-Git-Tag: v2.12.0-rc0~145^2~1 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/e8c352c316f31a3869f3ad1dae0e8b33042cbaf4?hp=e8c352c316f31a3869f3ad1dae0e8b33042cbaf4 trailer: have function to describe trailer layout Create a function that, taking a string, describes the position of its trailer block (if available) and the contents thereof, and make trailer use it. This makes it easier for other Git components, in the future, to interpret trailer blocks in the same way as trailer. In a subsequent patch, another component will be made to use this. Signed-off-by: Jonathan Tan Signed-off-by: Junio C Hamano ---