From 5d6907d85036cac91d222f7865ac45d41d889b21 Mon Sep 17 00:00:00 2001 From: Steve Streeting Date: Fri, 10 Jun 2016 08:43:32 +0100 Subject: [PATCH] Document default behaviour of BasicTransfersOnly() --- config/config.go | 1 + 1 file changed, 1 insertion(+) diff --git a/config/config.go b/config/config.go index 3d3d1888..5c53f4a9 100644 --- a/config/config.go +++ b/config/config.go @@ -228,6 +228,7 @@ func (c *Configuration) ConcurrentTransfers() int { } // BasicTransfersOnly returns whether to only allow "basic" HTTP transfers +// Default is false, including if the lfs.basictransfersonly is invalid func (c *Configuration) BasicTransfersOnly() bool { value, ok := c.GitConfig("lfs.basictransfersonly") if !ok || len(value) == 0 {