git-lfs/git
brian m. carlson 2a3581e1c7
Ensure proper alternate handling with gitobj
There are two ways to specify an alternate in Git: via the repository
file or via the environment. gitobj recently learned how to accept the
contents of an environment variable and use it, so pass the environment
variable when creating a new object database.

When performing a fetch, we don't use the object scanner, but we do when
performing a push. To make sure that we're exercising the object scanner
and gitobj adequately, simulate a push using alternates as well.
2019-08-15 17:39:32 +00:00
..
gitattr git/gitattr: add a macro processor 2018-12-03 17:18:49 +00:00
githistory Fix Typos 2019-07-24 07:17:40 +00:00
attribs.go git: look up default global attributes file if none specified 2018-12-03 17:18:50 +00:00
config_test.go git: provide a read-only configuration object 2018-10-26 15:27:54 +00:00
config.go Pass environment variables into object scanner 2019-08-15 17:39:32 +00:00
filter_process_scanner_test.go Merge pull request #2471 from git-lfs/git-pl-write-list 2017-08-04 09:10:28 -06:00
filter_process_scanner.go git: remove low value debug message 2017-10-27 09:51:45 -06:00
filter_process_status.go git: introduce type 'FilterProcessStatus' 2017-08-24 18:28:50 -04:00
git_test.go git/git.go: remove git.RefTypeRemoteTag 2018-09-25 14:38:45 -07:00
git.go Allow specifying file:/// URLs 2019-08-02 17:23:46 +00:00
object_scanner.go Ensure proper alternate handling with gitobj 2019-08-15 17:39:32 +00:00
pkt_line_reader_test.go filter-process: fix reading 1024 byte files 2016-11-22 12:21:48 +01:00
pkt_line_reader.go git: remove extraneous length check 2016-11-22 10:57:18 -07:00
pkt_line_test.go git/pl: flush underlying *bufio.Writer only when necessary 2016-11-15 14:35:21 -07:00
pkt_line_writer_test.go git: teach *PktlineWriter.Flush() to respond to nil receiver 2017-08-02 13:26:38 -06:00
pkt_line_writer.go git: teach *PktlineWriter.Flush() to respond to nil receiver 2017-08-02 13:26:38 -06:00
pkt_line.go git/pl: document pkt-line behavior 2016-11-15 14:35:21 -07:00
refs_test.go git: port over existing commands.refUpdate tests 2018-01-05 15:18:17 -07:00
refs.go git: remove unnecessary debug trace messages 2018-01-17 11:06:23 -07:00
rev_list_scanner_test.go Optimize traversal of Git objects with URL remotes 2019-08-05 21:20:54 +00:00
rev_list_scanner.go Optimize traversal of Git objects with URL remotes 2019-08-05 21:20:54 +00:00
version.go git/version.go: replace sync.Mutex usage with sync.Once 2019-01-23 15:42:32 -08:00