diff options
author | Stanisław Pitucha <git@viraptor.info> | 2023-04-05 11:27:04 +1000 |
---|---|---|
committer | Stanisław Pitucha <git@viraptor.info> | 2023-04-05 11:28:47 +1000 |
commit | f42b9fd74544bfcbabef8a8efd8ea388741cff0e (patch) | |
tree | 0ea8a32bdeb8fef6dfe1417aa4e8e80947cfb93c /maintainers/scripts/update.py | |
parent | cc5bde408572508efd1273852862d418bb313443 (diff) |
maintainers/scripts/update.nix: Remove unicode from message and comply with CONTRIBUTING.md
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 ```
Diffstat (limited to 'maintainers/scripts/update.py')
-rw-r--r-- | maintainers/scripts/update.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/maintainers/scripts/update.py b/maintainers/scripts/update.py index 7ae08958a1646..bbed2bda5e03f 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: |