Branch Support #6

Closed
opened 2024-01-05 23:07:19 +00:00 by cyclane · 1 comment
Owner

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-12 2024-01-05 23:07:30 +00:00
Author
Owner

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).
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).
cyclane referenced this issue from a commit 2024-01-10 12:21:27 +00:00
This repo is archived. You cannot comment on issues.
No Label
No Milestone
No Assignees
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

2024-01-12

Dependencies

No dependencies set.

Reference: cyclane/teamcity-gitea-test-task#6
No description provided.