Re: "git intepret-trailers" vs. "sed script" to add the signature

2017-07-04 Thread Junio C Hamano
Kaartic Sivaraam writes: > On Mon, 2017-07-03 at 09:58 -0700, Junio C Hamano wrote: >> Kaartic Sivaraam writes: >> >> > I'll send a typical patch that uses "git interpret-headers" as a >> > follow-up. >> >> When you say a

Re: "git intepret-trailers" vs. "sed script" to add the signature

2017-07-04 Thread Kaartic Sivaraam
On Mon, 2017-07-03 at 09:58 -0700, Junio C Hamano wrote: > Kaartic Sivaraam writes: > > > So, it seems that excepting for 'commit' it has quite a nice > > spacing. I > > guess we could add something like the following to fix that, > > > > # Add new line after

Re: "git intepret-trailers" vs. "sed script" to add the signature

2017-07-03 Thread Junio C Hamano
Kaartic Sivaraam writes: > So, it seems that excepting for 'commit' it has quite a nice spacing. I > guess we could add something like the following to fix that, > > # Add new line after SOB in case of "git commit" > NEW_LINE='\ > ' > if [ -z "$2"

"git intepret-trailers" vs. "sed script" to add the signature

2017-07-01 Thread Kaartic Sivaraam
On Sat, 2017-07-01 at 19:45 +0530, Kaartic Sivaraam wrote: > On Fri, 2017-06-30 at 09:44 -0700, Junio C Hamano wrote: > > It does look like a hack.  I was wondering if "interpret-trailers" > > is mature enough and can be used for this by now. > > It does look promising except for a few