facebook/sapling

Patch export

Open

#318 opened on Dec 11, 2022

View on GitHub
 (12 comments) (0 reactions) (0 assignees)Rust (4,649 stars) (182 forks)batch import
enhancementgood-first-issuehelp wanted

Description

It would be nice if we had the ability to export commits under the Git email .patch (example: https://patch-diff.githubusercontent.com/raw/facebook/sapling/pull/287.patch)

I use the mailing list patch workflow for some personal projects and would love to use sl to manage the repo, but exporting diffs to mail is a bit difficult right now.

sl export exists, but it's descended from hg export and does not have all the information the Git patch format does (From lines, date, Subject lines, diffstat, unified file diffs)

Contributor guide