Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

WebKit 2 min read Announcement easyNovice

WebKit on GitHub!

WebKit froze its Subversion tree on June 23rd and moved source control to git hosted on GitHub, citing git's distributed collaboration model, its author/committer model, cheap branch and revert operations, and the fact that most contributors already worked from git-svn mirrors. GitHub was chosen for its developer community and an API that made pre- and post-commit automation easy to build. Because git hashes are unordered, which complicates bisection under WebKit's zero-tolerance performance regression policy, the project uses "commit identifiers": the ancestor count on main (git rev-list --count) plus a branch-relative count for branches. These identifiers are supported by the git-webkit script and the commits.webkit.org translation service.

Assumes: git basics

Related posts

  • Sapling: Source control that’s user-friendly and scalable

    Meta Engineering easyNovice

    Meta has open-sourced the client for Sapling, a Git-compatible source control system built over 10 years that scales to repositories with tens of millions of files, commits and branches. Its UX centers on smartlog (a filtered view of your relevant commits), extensive undo/recovery commands, and first-class commit stacks backed by tracked mutation history, plus ReviewStack, a demo UI for reviewing GitHub PRs commit by commit. For scale, Segmented Changelog downloads only the commit graph's shape and lazily fetches data, answering ancestry queries in O(number-of-merges) and file history in O(log n). Sparse profiles committed to the repo, Watchman integration, and a forthcoming virtual file system and Rust server handle the working copy.

  • Code Review Can Be Better

    TigerBeetle mediumAdept

    TigerBeetle shelved git-review, an experiment that stored code review as a single commit of inline marked comments on top of the PR branch, edited by author and reviewer and reverted once all threads were resolved. Reviewing locally with inline comments worked very well, but applying requested changes caused merge conflicts with review comments at hunk boundaries, and frequent force-pushes added friction. The mismatch between strict hash-chained history for code and the looser merging review needs pushed the tool past a small-script budget. Git's possible adoption of Gerrit-style Change-Ids may enable per-commit interdiff review, and related tools such as Fossil, git-appraise, prr and flirt are listed.

  • Merging two GitHub repositories without losing commit history

    Mozilla Hacks mediumAdept

    MDN merged small example repositories into a larger parent repo while keeping full commit history, using only plain git commands. First, inside the source repo, all files move into a subdirectory matching the target layout (using zsh extendedglob negation like `mv ^(sw-test|service-worker)`, with hidden files moved separately so `.git` stays put). That change is merged, then the source is added as a remote in the target and merged with `git merge --allow-unrelated-histories`, resolving add/add conflicts such as README.md.

  • Native Git support in Zed

    Zed easyNovice

    Zed v0.177 adds native Git support built around speed, Git-native semantics and keyboard-first workflows: a Git Panel for staging and restoring, cmd-enter commits with optional LLM-written messages and automatic Co-Authored-By lines, a hunk-level Diff View like `git add -p`, and fetch/pull/push from the command palette. Under the hood, the text buffer was rebuilt so deleted hunks are part of the editor's coordinate system rather than rendered blocks, enabling search and selection inside them. Staged and unstaged hunks are interleaved by computing a "diff-of-diffs" (buffer vs HEAD compared with index vs HEAD), so focus isn't lost when staging. Conflict resolution, line-level staging and history visualization are planned next.

  • Scaling merge-ort across GitHub

    GitHub Engineering mediumAdept

    GitHub replaced its libgit2-based server-side merge and rebase implementation with Git's merge-ort strategy, which needs no working directory and matches what the Git command line does. Both changes were validated with Scientist experiments that ran old and new code paths side by side in production. For merges, P50 dropped from about 71 ms to under 8 ms and P99 from 1.63 s to about 330 ms, a 10x speedup on the github/github monolith. Rebases moved to the new git-replay subcommand, and in testing they took under 10 minutes of compute versus 2.56 hours with libgit2.

The quest for software engineering knowledge.

Look:
Layout: