-
{{[[TODO]]}} gotta handle comments
-
okay, looks like the filename is incorrect - it prints `"warning: could not read '.git/rebase-merge/head': No such file or directory"`, but it looks like the actual file (when you do a proper git rebase) that gets modified is `.git/HEAD` - normally it's set to `ref: refs/heads/extraction-6-create-4th-transform-rename-style-tokens`, and in rebase, it gets set to some SHA (looks like the very first commit of the rebase, ofc).
-
did that. now we checkout into the first commit, and all files are added, what the heck?:D
-
maybe let's write into that `.git/rebase-merge/head` file even tho we can't see it?
-
[[(hidden) DY6wPnICE]]! `git rebase --abort` worked now! though, i got checked out into the initial branch's commit :D
-
i previously set `head-name` to the latest branch's commit sha, instead of the initial branch's one
-
`interactive` file missing from me
-
also `no-reschedule-failed-exec`
-
also `orig-head` (`head-name` should be the ref (`refs/heads/branch-name`), and `orig-head` - the commit of the latest branch (before rebase))
-
SHEEESH! `rebase --edit-todo` shows up & works!!!
-
`commit --amend` also shows up, but editing it edits something wrong & my statusbar shows both rebase & ahead/behind commit counts, so something definitely wrong lmao
-
do i need the `index` file as well? git-rebase-todo.backup?
-
git-rebase-todo.backup doesn't seem to help
-
index nope, identical gets generated
-
.todo -> .backup
-
head-name: head commit sha -> latest branch name
-
ok so in regular case, status bar shows 1/21 commits, ours doesn't. `index`?
-
`done`, `msgnum`, `end`
-
-
-
-
-
-
okay, it's gonna be tricky. at first we can try monkey-patching, tho the end user will have to be very careful - everywhere, but especially at branch boundaries lmao
-
{{[[TODO]]}} as i though, we might need to use the `git rebase -i` initially to get all the stuff in the right places
-
e.g. atm, if i want to continue the rebase, i need to pass in some signature and it's not there,
-
also the `gpg_sign_opt` needs handling
-
etc
-
{{[[TODO]]}} fuck, why is the rebase stuff so meh? will i have to handle every single operation myself?... why is there no `rebase.continue()`?...
-
thinking about using the [[(hidden) U5k5oJ6YK]] api. but, the error i was getting - it's not even mentioned anywhere in the nodegit repo, not a single word, which means that it's only in libgit2 (the C source) itself, so ain't gonna help
-
rebase.c
-