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

Bail early if not inside a Git repo (snippets, fbc5f09)

Created 11/27/2007, updated 3/5/2024
  • snippets

This should allow us to continue gracefully if building from a source other than a Git repository working tree (like a tarball, for example).

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

← Set up ignores for dialog Xcode project bundle (snippets, 78468e0)
Release note script (snippets, 6c0e4f7) →

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