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
>> +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
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
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
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 +++
5 matches
Mail list logo