summaryrefslogtreecommitdiff
path: root/t/t4018/python-async-def
AgeCommit message (Collapse)AuthorFilesLines
2019-11-20userdiff: support Python async functionsLibravatar Josh Holland1-0/+4
Python's async functions (declared with "async def" rather than "def") were not being displayed in hunk headers. This commit teaches git about the async function syntax, and adds tests for the Python userdiff regex. Signed-off-by: Josh Holland <anowlcalledjosh@gmail.com> Acked-by: Johannes Sixt <j6t@kdbg.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>