git-lfs/lfs/config_windows.go
rubyist 2a601cbd09 Use a build flagged var instead of var + init() for setting netrc name
Instead of a blank var in the main config with values set by init() in
build flag protected files, the build flagged files should create the
var. This prevents cases where no build flagged file builds leaving an
empty netrc basename causing auth failures.

This also renames the file config_linux.go to config_nix.go because it
should build on all unix-y platforms.
2015-11-21 10:14:10 -05:00

5 lines
60 B
Go

// +build windows
package lfs
var netrcBasename = "_netrc"