magit-libgit2 icon indicating copy to clipboard operation
magit-libgit2 copied to clipboard

Problems during rebasing session

Open villem opened this issue 6 years ago • 3 comments

Hi,

During rebasing (stopped for editing), I get

git branch
* (no branch, rebasing XX)

and error 
apply: Rust error: "failed to parse revision specifier - Invalid pattern '@{upstream}'; class=Invalid (3); code=InvalidSpec (-12)"

This is not a fatal, but bit annoying, because magit will not do highlighting of changes correctly.

thanks for magit-libgit2 it really speeds up things!

villem avatar Apr 16 '18 06:04 villem

I haven't been able to work on this much, since I've been working on the underlying Rust binding for emacs-module.

A quick workaround could be making magit-rev-parse--libgit2 fall through in more cases. I'll check it later this week.

ubolonton avatar Apr 18 '18 01:04 ubolonton

Sorry I haven't had time for this. Another libgit2 binding for Emacs looks promising though: https://github.com/TheBB/libegit2.

ubolonton avatar Apr 26 '18 12:04 ubolonton

No worries, I will check magit-rev-parse--libgit2 and the new project. The thing is that I like rust myself too :-)

VilleM-FP avatar Apr 26 '18 13:04 VilleM-FP