💡 Looking for inspiration for your next open source project? Or perhaps you've got a brilliant idea you can't wait to share with others? Open Source Ideas is a community built specifically for this! 👋
6.59k
stars
221
forks
source link
python bindings and GUI integration for reposurgeon #314
For example, in order to rewrite a commit into a merge commit one has to:
identify the commits first in a standalone git gui app
find a way to get their reposurgeon ids by making a selector for them (it seems I cannot select them by their hash)
show a list of them, copy it into a text editor
select the ones you need from the list
inspect them
from the inspection result (which prints a lot of unneeded info, it'd be niceto have a command to print just parents) take only the info you need (list of previous commits, from)
make a command doing what you need reparent <ids from from>, <ids to add>, <target commit id> --use-order
It is too labour intensive for a single editiing op and is too error prone. It would be better if one has to select the commit to transform into a merge one and the parent commits in a git GUI client.
Project description
https://gitlab.com/esr/reposurgeon is an awesome tool by ESR. Unfortunately its CLI is hard to use and error prone.
For example, in order to rewrite a commit into a merge commit one has to:
inspect
themfrom
)reparent <ids from from>, <ids to add>, <target commit id> --use-order
It is too labour intensive for a single editiing op and is too error prone. It would be better if one has to select the commit to transform into a merge one and the parent commits in a git GUI client.
Relevant Technology
Complexity and required time
Complexity
Required time (ETA)
Categories