aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/object/difftree_test.go
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2020-04-23 18:00:03 -0500
committerKyle Evans <kevans@FreeBSD.org>2020-04-23 18:19:08 -0500
commit9c7d576132a760645e3a6b3ebdf51c4aef532794 (patch)
tree0064a4055acf3af0ba0718b41b1554b78bc7fafe /plumbing/object/difftree_test.go
parent218a744b6995a89f5c322aa58e79138d65392ea6 (diff)
downloadgo-git-9c7d576132a760645e3a6b3ebdf51c4aef532794.tar.gz
storage/filesystem: dotgit, add a test for reading refs from a directory
Specifically, the problem demonstrated is that on some OS (e.g. FreeBSD), read() on a directory will succeed. The current implementation will accept that and return incorrect results, rather than rejecting the directory.
Diffstat (limited to 'plumbing/object/difftree_test.go')
0 files changed, 0 insertions, 0 deletions