Skip to content

Commit f0c4318

Browse files
committed
worktree: address PR comments: sort imports appropriately
Signed-off-by: Mark Bartel <[email protected]>
1 parent 7ff71b5 commit f0c4318

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

worktree_commit.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package git
22

33
import (
44
"path"
5+
"sort"
56
"strings"
67

78
"gopkg.in/src-d/go-git.v4/plumbing"
@@ -11,7 +12,6 @@ import (
1112
"gopkg.in/src-d/go-git.v4/storage"
1213

1314
"gopkg.in/src-d/go-billy.v4"
14-
"sort"
1515
)
1616

1717
// Commit stores the current contents of the index in a new commit along with

worktree_commit_test.go

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
package git
22

33
import (
4+
"bytes"
5+
"io/ioutil"
6+
"os"
7+
"os/exec"
48
"time"
59

610
"gopkg.in/src-d/go-git.v4/plumbing"
711
"gopkg.in/src-d/go-git.v4/plumbing/object"
812
"gopkg.in/src-d/go-git.v4/plumbing/storer"
913
"gopkg.in/src-d/go-git.v4/storage/memory"
14+
"gopkg.in/src-d/go-git.v4/storage/filesystem"
1015

11-
"bytes"
1216
. "gopkg.in/check.v1"
1317
"gopkg.in/src-d/go-billy.v4/memfs"
1418
"gopkg.in/src-d/go-billy.v4/osfs"
1519
"gopkg.in/src-d/go-billy.v4/util"
16-
"gopkg.in/src-d/go-git.v4/storage/filesystem"
17-
"io/ioutil"
18-
"os"
19-
"os/exec"
2020
)
2121

2222
func (s *WorktreeSuite) TestCommitInvalidOptions(c *C) {

0 commit comments

Comments
 (0)