Bug 240694 - webkitscmpy.local.git.Git.branches_for should use git-for-each-ref
Summary: webkitscmpy.local.git.Git.branches_for should use git-for-each-ref
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Sam Sneddon [:gsnedders]
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-05-19 16:57 PDT by Sam Sneddon [:gsnedders]
Modified: 2022-08-09 09:24 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam Sneddon [:gsnedders] 2022-05-19 16:57:49 PDT
We're having to do pretty fragile stuff parsing the output of the git-branches porcelain command; we probably should be using `git-for-each-ref` instead. That said, if we're too old of a version of git (<2.13) , then we don't have --contains there (nor --format on git-branch).
Comment 1 Radar WebKit Bug Importer 2022-05-26 16:58:20 PDT
<rdar://problem/94004623>
Comment 2 Sam Sneddon [:gsnedders] 2022-08-09 09:24:21 PDT
Pull request: https://github.com/WebKit/WebKit/pull/3150