From 4a670e130804d630fa056e4a60101698dc7a9af1 Mon Sep 17 00:00:00 2001 From: "Santiago M. Mola" Date: Fri, 28 Apr 2017 15:20:51 +0200 Subject: do not convert local paths to URL * Do not convert local paths to URLs, just keep them as they are. * This way we add support for Windows without taking care of Windows path-to-URL conversion. --- _examples/common_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '_examples') diff --git a/_examples/common_test.go b/_examples/common_test.go index 5543eaf..877e9ca 100644 --- a/_examples/common_test.go +++ b/_examples/common_test.go @@ -96,7 +96,7 @@ func createBareRepository(dir string) string { func setEmptyRemote(dir string) string { remote := createBareRepository(tempFolder()) - setRemote(dir, fmt.Sprintf("file://%s", remote)) + setRemote(dir, remote) return dir } -- cgit From 15b3c4fdb8a475bacbb0f7dc3a2dc7d5c8f3df3e Mon Sep 17 00:00:00 2001 From: Máximo Cuadros Date: Thu, 4 May 2017 02:26:25 +0200 Subject: examples: fix compilation error from #368 --- _examples/common_test.go | 1 - 1 file changed, 1 deletion(-) (limited to '_examples') diff --git a/_examples/common_test.go b/_examples/common_test.go index 877e9ca..ff01ba3 100644 --- a/_examples/common_test.go +++ b/_examples/common_test.go @@ -2,7 +2,6 @@ package examples import ( "flag" - "fmt" "go/build" "io/ioutil" "os" -- cgit From e80cdbabb92a1ec35ffad536f52d3ff04b548fd1 Mon Sep 17 00:00:00 2001 From: Máximo Cuadros Date: Thu, 4 May 2017 02:55:12 +0200 Subject: examples: fix storage README example --- _examples/storage/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '_examples') diff --git a/_examples/storage/README.md b/_examples/storage/README.md index 02b68da..b7207ee 100644 --- a/_examples/storage/README.md +++ b/_examples/storage/README.md @@ -1,4 +1,4 @@ -#go-git + aerospike: a git repository backed by a database +# go-git + aerospike: a git repository backed by a database This is an example of a [go-git](https://github.com/src-d/go-git) repository backed by [Aerospike](http://www.aerospike.com/). -- cgit