Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve version/commit loading to allow for some operations without loading the whole history #140

Closed
npasserini opened this issue Sep 8, 2016 · 1 comment
Milestone

Comments

@npasserini
Copy link
Contributor

See IceBranch>>addCommit

addCommit: newCommit
commits ifNotNil: [
"If commits are nil here, it means that they have not been loaded,
so the commit being added will be loaded when all commits are loaded.
Current strategy loads all commits at once, at some point we will require to be smarter,
and allow to work loading only the latest commit when it is not needed."
commits add: (self repository addCommit: newCommit)
]

@npasserini npasserini added this to the 0.3.1 milestone Oct 24, 2016
@npasserini
Copy link
Contributor Author

We will remove the history of commits in a branch.

npasserini added a commit that referenced this issue Oct 25, 2016
… is included in a branch or not (IceBranch>>#includesCommit:). Related related to #140.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant