Re: [PATCH] commit: Add -f, --fixes option to add Fixes: line

2013-10-28 Thread Michael Haggerty
On 10/27/2013 08:14 AM, Josh Triplett wrote: > On Sun, Oct 27, 2013 at 06:42:44AM +0100, Michael Haggerty wrote: >> On 10/27/2013 02:34 AM, Josh Triplett wrote: >> [...] >> First of all, let me show my ignorance. How formalized is the use of >> metadata lines at the

Re: [PATCH] commit: Add -f, --fixes option to add Fixes: line

2013-10-28 Thread Michael Haggerty
int $1 }' | git log --stdin --no-walk --abbrev=12 --pretty=format:\"Fixes: %h ('%s')\" Note that the command is written to be idempotent; that way git could re-pipe the old value(s) of the footer though the command if necessary. And it can handle multiple lines, since

Re: [PATCH] commit: Add -f, --fixes option to add Fixes: line

2013-10-26 Thread Michael Haggerty
+++ b/t/t7502-commit.sh > @@ -137,13 +137,50 @@ test_expect_success 'partial removal' ' > > ' > > +signoff_ident () { > + git var GIT_COMMITTER_IDENT | sed -e "s/>.*/>/" > +} > + > test_expect_success 'sign off' ' >

Re: [ANNOUNCE] Git v1.8.3-rc0

2013-04-26 Thread Michael Haggerty
ng^{object}" now provides a way. And what do you have against test suites? :-) Michael -- Michael Haggerty mhag...@alum.mit.edu http://softwareswirl.blogspot.com/ -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.ker