Hi,

Would it be possible for some talented magit developer to spend a few
minutes (!) implementing very basic support for stgit, namely the mere
flagging of stgit commits? This feature is already implemented in
gitk, qgit, as you can see by yourself in just 2 seconds by simply
running these commands:

stg new -m message1 patch1
stg new -m message2 patch2
gitk; qgit;
stg delete patch1
stg delete patch2

I am definitely NOT suggesting a full featured stgit interface inside
magit, but just a very basic labelling of stgit commits. This would be
a very simple but very important safety feature because it would help
A LOT avoiding the mistake of running plain git commands on stgit
commits, which typically corrupts stgit (I know, I know, I should be
learning topgit instead...)

stgit commits can be listed very easily thanks to a command like this:
    git show-ref | grep refs/patches/
The exact regular expression can be found in stgit source code here:
  
https://github.com/gustavh/stgit/blob/experimental/stgit/commands/repair.py#L107

Thanks a lot for considering this feature!

Reply via email to