Skip to content

rebase: Add wrapper for git_rebase_inmemory_index() (#900) - #905

Merged
lhchavez merged 1 commit into
release-1.0from
cherry-pick-1893253491-release-1.0
Feb 25, 2022
Merged

rebase: Add wrapper for git_rebase_inmemory_index() (#900)#905
lhchavez merged 1 commit into
release-1.0from
cherry-pick-1893253491-release-1.0

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 psteinhardt@gitlab.com
(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 <psteinhardt@gitlab.com>
(cherry picked from commit e7d1b2b)
@lhchavez
lhchavez merged commit 1d03712 into release-1.0 Feb 25, 2022
@lhchavez
lhchavez deleted the cherry-pick-1893253491-release-1.0 branch February 25, 2022 03:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants