libgit2 / libgit2/pygit2

`git_commit_amend` not available.

Open
#686 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
Python
Stars
1.7k
Forks
408
Avg merge
2d 57m
Merged PRs (30d)
7

Description

Additionally Repository.create_commit fails if the first parent is not the tip of the branch being updated, so the behaviour cannot be fudged by making a new commit with the tip's parent.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the Repository.create_commit API and the git_commit_amend entry point referenced in the issue. Reproduce the first-parent failure and determine the binding changes needed for amend support; done means the requested operation is available without relying on the described workaround.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, python
Domain
devtools
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.