blob: a1141330df8cdcc96046eea8d7e4e4abdc3608bc [file] [log] [blame]
// Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package checkout
import (
"log"
"os/exec"
)
// The path to the git executable. This must be on the PATH when execution begins.
var git string
func init() {
var err error
git, err = exec.LookPath("git")
if err != nil {
log.Fatal("git must be in PATH")
}
}