Skip to content

Commit

Permalink
Remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Mar 7, 2024
1 parent 4aa9676 commit dde105b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions splitter/cache.go
Expand Up @@ -122,11 +122,6 @@ func (c *cache) get(rev *git.Oid) *git.Oid {

func (c *cache) set(rev, newrev *git.Oid, created bool) {
c.data[string(rev[0:20])] = newrev[0:20]
postfix := "/newest"
if created {
postfix = "/oldest"
}
c.data[string(append(newrev[0:20], []byte(postfix)...))] = rev[0:20]
}

func (c *cache) gets(commits []*git.Oid) []*git.Oid {
Expand Down

0 comments on commit dde105b

Please sign in to comment.