Skip to content

rebase: Add wrapper for git_rebase_inmemory_index() (#900)#904

Merged
lhchavez merged 1 commit intorelease-1.2from
cherry-pick-1893253491-release-1.2
Feb 25, 2022
Merged

rebase: Add wrapper for git_rebase_inmemory_index() (#900)#904
lhchavez merged 1 commit intorelease-1.2from
cherry-pick-1893253491-release-1.2

Conversation

@github-actions
Copy link
Copy Markdown

  • rebase: Fix missing initialization of the repo pointer

While the Rebase structure has a pointer to the repository the rebase
is creatde in, this pointer isn't ever initialized. Fix this.

  • rebase: Add wrapper for git_rebase_inmemory_index()

Add a new wrapper for git_rebase_inmemory_index(), which can be used
to retrieve the index for an in-memory rebase.

Co-authored-by: Patrick Steinhardt [email protected]
(cherry picked from commit e7d1b2b)

* rebase: Fix missing initialization of the repo pointer

While the `Rebase` structure has a pointer to the repository the rebase
is creatde in, this pointer isn't ever initialized. Fix this.

* rebase: Add wrapper for `git_rebase_inmemory_index()`

Add a new wrapper for `git_rebase_inmemory_index()`, which can be used
to retrieve the index for an in-memory rebase.

Co-authored-by: Patrick Steinhardt <[email protected]>
(cherry picked from commit e7d1b2b)
@lhchavez lhchavez merged commit a7dc7d4 into release-1.2 Feb 25, 2022
@lhchavez lhchavez deleted the cherry-pick-1893253491-release-1.2 branch February 25, 2022 03:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants