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

Define macro for "/dev/null" (gdiff, 799c018)

Created 10/2/2007, updated 3/5/2024
  • snippets

Reduce the likelihood of typing errors by defining a symbolic macro for "/dev/null", which has special meaning in Git. If this ever changes in Git the macro can be modified and gdiff should continue to work.

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

← Add WOCheck and WOCCheck macros (WOPublic, e9bfc2b)
Make file source list table column uneditable (gdiff, d14e56b) →

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).