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

Factor out path_for_tool function (gdiff, 86bf53c)

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

Move tool-locating code into a separate function where it can be used by both the command-line tool (to locate git-diff) and the GUI tool (to locate git-cat-file).

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

← Refactoring of path utilities for readability (gdiff, cadc4d8)
Teach tool new ways to get input (gdiff, 64de21c) →

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