Re: [PATCH 09/10] t4213: test --function-name option

2014-04-04 Thread Jakub Narębski
W dniu 2014-03-27 19:50, David A. Dalrymple (and Bhushan G. Lodha) pisze: +test_expect_success setup ' + echo "* diff=cpp" > .gitattributes + + >file && + git add file && + test_tick && + git commit -m initial && + + printf "int main(){\n\treturn 0;\n}\n" >> f

Re: [PATCH 09/10] t4213: test --function-name option

2014-03-28 Thread Johannes Sixt
>> +sed -i -e "s/void newfunc2/void newfunc4/" file && I forgot to mention that sed -i is not portable. -- Hannes -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-in

Re: [PATCH 09/10] t4213: test --function-name option

2014-03-28 Thread Eric Sunshine
On Fri, Mar 28, 2014 at 3:25 AM, Johannes Sixt wrote: > Am 3/27/2014 19:50, schrieb David A. Dalrymple (and Bhushan G. Lodha): >> From: "Bhushan G. Lodha & David A. Dalrymple" >> >> This test builds a sample C file, adding and removing functions, and >> checks that the right commits are filtered

Re: [PATCH 09/10] t4213: test --function-name option

2014-03-28 Thread Johannes Sixt
Am 3/27/2014 19:50, schrieb David A. Dalrymple (and Bhushan G. Lodha): > From: "Bhushan G. Lodha & David A. Dalrymple" > > This test builds a sample C file, adding and removing functions, and > checks that the right commits are filtered by --function-name matching. This is probably the most impo

[PATCH 09/10] t4213: test --function-name option

2014-03-27 Thread David A. Dalrymple (and Bhushan G. Lodha)
From: "Bhushan G. Lodha & David A. Dalrymple" This test builds a sample C file, adding and removing functions, and checks that the right commits are filtered by --function-name matching. Signed-off-by: David Dalrymple (on zayin) --- t/t4213-log-function-name.sh | 73 +++