git-lfs/script/run
risk danger olson 5c4891908c update scripts to build with vendor experiment off
This maintains compatibility with go 1.4-1.6
2016-02-23 09:51:12 -07:00

5 lines
177 B
Bash
Executable File

#!/usr/bin/env bash
script/fmt
commit=`git rev-parse --short HEAD`
GO15VENDOREXPERIMENT=0 go run -ldflags="-X github.com/github/git-lfs/lfs.GitCommit $commit" ./git-lfs.go "$@"