It's required to add branch support for the git implementation. We need the possibility to add new commits after already existing ones, creating a new sequence of changes. At the same time, existing commits and their sequences must be preserved. The library also should switch between existing branches. All functionality that is implemented already should be preserved.
I guess a different list of commits for each branch, should be relatively simple.
Let's do this properly - commits should store parents, branches are pointers to commits.
> It's required to add branch support for the git implementation. We need the possibility to add new commits after already existing ones, creating a new sequence of changes. At the same time, existing commits and their sequences must be preserved. The library also should switch between existing branches. All functionality that is implemented already should be preserved.
~~I guess a different list of commits for each branch, should be relatively simple.~~
Let's do this properly - commits should store parents, branches are pointers to commits.
cyclane
added the due date 2024-01-122024-01-05 23:07:30 +00:00
We would have to break the functionality of inserting commits in-between, since the proper way does a rebase in this case, which would change the hashes of all commits after it, therefore invalidating any previous return values (which may or may not be used).
Nevermind, let's go with the first idea:
- We would have to break the functionality of inserting commits in-between, since the proper way does a rebase in this case, which would change the hashes of all commits after it, therefore invalidating any previous return values (which may or may not be used).
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
I guess a different list of commits for each branch, should be relatively simple.Let's do this properly - commits should store parents, branches are pointers to commits.
Nevermind, let's go with the first idea: