Implement ShortenOids #28

Merged
Merovius merged 1 commits from shorten into master 2013-06-13 12:09:53 -05:00
Merovius commented 2013-05-21 16:06:16 -05:00 (Migrated from github.com)

Add some code to shorten oids. We could do that in pure go in the longrun (should be faster), but for now we just call what libgit2 gives us.

I'm not sure if libgit2 does some clever tricks that permits calculating this without keeping every oid in memory, which might make this code scale worse than pure libgit, but for now it's okay I guess.

Add some code to shorten oids. We could do that in pure go in the longrun (should be faster), but for now we just call what libgit2 gives us. I'm not sure if libgit2 does some clever tricks that permits calculating this without keeping every oid in memory, which might make this code scale worse than pure libgit, but for now it's okay I guess.
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: jcarr/git2go#28
No description provided.