From f42b9fd74544bfcbabef8a8efd8ea388741cff0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stanis=C5=82aw=20Pitucha?= Date: Wed, 5 Apr 2023 11:27:04 +1000 Subject: [PATCH] maintainers/scripts/update.nix: Remove unicode from message and comply with CONTRIBUTING.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It's not used infrequently and the ascii version is nicer for automatic parsing. ``` git log --grep '->' --oneline --since '2022-01-01' | wc -l 67791 git log --grep '→' --oneline --since '2022-01-01' | wc -l 2914 ``` --- maintainers/scripts/update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maintainers/scripts/update.py b/maintainers/scripts/update.py index 7ae08958a16..bbed2bda5e0 100644 --- a/maintainers/scripts/update.py +++ b/maintainers/scripts/update.py @@ -100,7 +100,7 @@ async def commit_changes(name: str, merge_lock: asyncio.Lock, worktree: str, bra # Git can only handle a single index operation at a time async with merge_lock: await check_subprocess('git', 'add', *change['files'], cwd=worktree) - commit_message = '{attrPath}: {oldVersion} → {newVersion}'.format(**change) + commit_message = '{attrPath}: {oldVersion} -> {newVersion}'.format(**change) if 'commitMessage' in change: commit_message = change['commitMessage'] elif 'commitBody' in change: