kahole / edamagit

Magit for VSCode
https://marketplace.visualstudio.com/items?itemName=kahole.magit
MIT License
1.09k stars 60 forks source link

Cherry-picking commits from log #134

Open The-Compiler opened 3 years ago

The-Compiler commented 3 years ago

With magit, when hitting A with a commit in the log at point, the top suggestion (before any branches) is the focused commit:

image

this makes it very easy to e.g. backport commits to a stable branch, by using l o (log other) with master to see a list of commits, and then hitting A A on desired commits to pick them.

With edamagit, however, only branches are suggested:

image

Perhaps somewhat related: #91

The-Compiler commented 3 years ago

I noticed this is actually a problem for more actions as well. For example, with magit you can do ri to do a rebase and it'll directly open git-rebase-todo with the selected commit:

image

image

while with edamagit, the normal quickpick asking to select a commit appears:

image

I think that's what magit usually calls dwim ("do what I mean"), but I never really got into the whole emacs terminology.

jtrakk commented 2 years ago

This also applies to checkout and diff. In emacs, when point is on a log line, b b will offer to check out that commit and d d will diff against that commit.

jariji commented 3 months ago

Does anybody have a recommended workaround for this functionality?