• Wincent
    Menu
  • Blog
  • Wiki
  • Snippets
  • Tags
  • Search

Initial import of diff.rl file (gdiff, 2ab5e1c)

Created 9/21/2007, updated 3/5/2024
  • snippets

This is a skeletal implementation of a Ragel state machine for parsing the output of "git diff". At this stage it doesn't actually do anything other than recognize the diff and print logging statements along the way to show what input it is seeing.

Signed-off-by: Greg Hurrell <greg@hurrell.net>

← Add Makefile (gdiff, dac88ba)
Last days of SCO's stock →

All snippets

Site
  • About
  • Blog
  • Wiki
  • Snippets
  • Tags
  • Search
External
  • GitHub
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
Colophon

Made by Greg Hurrell with Rust (with help from Git and Neovim).