aboutsummaryrefslogtreecommitdiffstats
path: root/worktree.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2018-03-01 19:14:48 +0100
committerGitHub <noreply@github.com>2018-03-01 19:14:48 +0100
commitd8d17e72525d359044192b998b11926a4eecc2c4 (patch)
treed9607299f340ba352b0753679d2e5b1b0ce457ab /worktree.go
parent4397264e391b45a8eac147cc7373189d55c640cc (diff)
parente850aea5005fdb2a74d7dcd3267dac4a3612df8a (diff)
downloadgo-git-d8d17e72525d359044192b998b11926a4eecc2c4.tar.gz
Merge pull request #766 from mvdan/patches
Unused params, unused code, make Go tip's vet happy
Diffstat (limited to 'worktree.go')
-rw-r--r--worktree.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/worktree.go b/worktree.go
index a23397e..394dce4 100644
--- a/worktree.go
+++ b/worktree.go
@@ -607,10 +607,6 @@ func (w *Worktree) getTreeFromCommitHash(commit plumbing.Hash) (*object.Tree, er
return c.Tree()
}
-func (w *Worktree) initializeIndex() error {
- return w.r.Storer.SetIndex(&index.Index{Version: 2})
-}
-
var fillSystemInfo func(e *index.Entry, sys interface{})
const gitmodulesFile = ".gitmodules"