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

Merged
github-actions[bot] merged 1 commits from cherry-pick-1893253491-release-1.2 into release-1.2 2022-02-24 21:20:38 -06:00
github-actions[bot] commented 2022-02-24 07:27:48 -06:00 (Migrated from github.com)
  • 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 e7d1b2b69f)

* 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 e7d1b2b69fbe476c75a00cf8dcda284337facb50)
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: jcarr/git2go#904
No description provided.