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

Trim trailing newline (snippets, 938951f)

Created 12/28/2007, updated 3/5/2024
  • snippets

Make sure the abbreviated hash doesn't have a trailing newline.

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

← Synergy (revision 7ae6b07)
Parenthesize arguments to silence Ruby warnings (snippets, e0435ce) →

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