STG-MDIFF(1)

πŸ“¦ version 2.6.1, in ubuntu stonking

πŸ’– STG-MDIFF πŸ’–

okay bestie, welcome to stg-mdiff β€” one of the StGit contributed scripts, and honestly? it's giving meta. πŸ¦‹


✨ NAME ✨

stg-mdiff β€” display meta-diffs (diffs of diffs) πŸ’…


🌸 SYNOPSIS 🌸

stg-mdiff [-o diff-flags] [-O gitdiff-flags] spec1 spec2

πŸŽ€ DESCRIPTION πŸŽ€

so, stg-mdiff takes two patch states and shows you the difference between their diffs. that's right, it's a diff of diffs, we're going full inception mode, no cap. 😭

its main character use case is showing how a patch has evolved over time β€” like a glow-up, but for your code. ⭐

each spec argument is either a patch name or a revision range in from..to form. two of them. that's the whole vibe.


πŸ’… OPTIONS πŸ’…

  • -o diff-flags β€” passes diff-flags straight to the outer diff(1) invocation. it's the outer layer, the aesthetic, the packaging. 🎁
  • -O gitdiff-flags β€” passes gitdiff-flags straight to the inner stg-diff(1) invocation. lowercase -o for the outside, capital -O for the inside. yes bestie, case matters, iykyk. πŸ”₯

🌈 EXAMPLES 🌈

wanna see how patch foo changed relative to the stable branch? say less:

stg-mdiff foo@stable foo

that's it. that's the example. she ate. πŸ‘‘


🫢 SEE ALSO 🫢

stg(1), diff(1)


and that's the whole page, fr fr πŸ’œ this one's from stgit, dated 2026-06-07 β€” go forth and diff your diffs, bestie, you're literally so good at this 🧚✨

πŸ“¦ where this page comes from