mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 07:18:17 +02:00
bin/pick: Rename master branch to main
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
(cherry picked from commit 6e86d1f503)
[Eric: botched up Jordan's commit to not break anything on the release branch]
This commit is contained in:
parent
da315007b8
commit
b125ee559a
2 changed files with 3 additions and 3 deletions
|
|
@ -49,7 +49,7 @@
|
|||
"description": "bin/pick: Rename master branch to main",
|
||||
"nominated": false,
|
||||
"nomination_type": null,
|
||||
"resolution": 4,
|
||||
"resolution": 1,
|
||||
"master_sha": null,
|
||||
"because_sha": null
|
||||
},
|
||||
|
|
|
|||
|
|
@ -196,9 +196,9 @@ class Commit:
|
|||
|
||||
|
||||
async def get_new_commits(sha: str) -> typing.List[typing.Tuple[str, str]]:
|
||||
# Try to get the authoritative upstream master
|
||||
# Try to get the authoritative upstream main
|
||||
p = await asyncio.create_subprocess_exec(
|
||||
'git', 'for-each-ref', '--format=%(upstream)', 'refs/heads/master',
|
||||
'git', 'for-each-ref', '--format=%(upstream)', 'refs/heads/main',
|
||||
stdout=asyncio.subprocess.PIPE,
|
||||
stderr=asyncio.subprocess.DEVNULL)
|
||||
out, _ = await p.communicate()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue