Skip to content

Strip metadata from patches in `dev-save-patches`

MR: chore: Strip noisy metadata from patches (!93 - merged)

Description

Identified in !88 (merged)

When generating a new set of patches, some unnecessary metadata for all patches is updated. We don't need this information so let's see if we can strip it out of the resulting patch files.

Implementation notes

From a patch like this one, we want to remove/normalize these lines:

  • The first line that contains something like From 4ab50a7f1b8ca99f47cd226d4a701134a9bd926d Mon Sep 17 00:00:00 2001
  • The last line that contains the git version
Edited by Paul Slaughter