Bug 241981 - add an option to `git webkit pr` to customize the name of the branch when on `main`
Summary: add an option to `git webkit pr` to customize the name of the branch when on ...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks: 239082
  Show dependency treegraph
 
Reported: 2022-06-24 12:29 PDT by Devin Rousso
Modified: 2022-06-28 10:46 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Devin Rousso 2022-06-24 12:29:21 PDT
ideally it'd be nice to have the name of the branch come from the bugzilla (or radar) number, that way there's no chance of conflict and it's much easier to read (instead of some super long thing based on the name of the bug)

my current workflow is:
1. create bugzilla bug
2. `git checkout -b eng/{bugzilla bug ID}`
3. `git commit -a`
4. `git webkit pr`
but it would be super nice to skip steps 1-3 but just `git webkit pr` when on `main` (and have it use a sane branch name)
Comment 1 Radar WebKit Bug Importer 2022-06-24 12:29:33 PDT
<rdar://problem/95872954>
Comment 2 Jonathan Bedard 2022-06-28 09:18:39 PDT
Am I understanding the request here to essentially be: "Let me use the bug number by default instead of the bug title as the branch name"?
Comment 3 Devin Rousso 2022-06-28 10:46:22 PDT
yeah that would be one way to put it

ideally anything other than the bug title as the branch name 😅