caldwell / commit-patch

Commit patches to Darcs, Git, Mercurial, Bazaar, Monotone, Subversion, or CVS
http://www.porkrind.org/commit-patch/
GNU General Public License v2.0
21 stars 8 forks source link

emacs interface can now amend commits #9

Closed dkogan closed 9 years ago

dkogan commented 9 years ago

Hi. I've been using a half-assed version of this for years. Here's a full-assed version. In its most basic form you can now C-c C-S-c to amend the last commit instead of creating a new one. You can also invoke this with a new function or by invoking the old function with a prefix arg.

radford commented 9 years ago

Thanks @dkogan . This looks looks fine, though if you end up amending, you might fix the typo in the commit message.

dkogan commented 9 years ago

Typo fixed in my master branch. I don't see a github button to update this request, so get the patch from my tree.

radford commented 9 years ago

It's fixed automatically when you force a push, see the 5bfe812 update right above your comment.

caldwell commented 9 years ago

Thanks, Dima. Just yesterday I was wishing I could do this in Emacs without having to pop out to the command line… I made just a couple minor tweaks in 00d997ec and 4659f112.

dkogan commented 9 years ago

David Caldwell notifications@github.com writes:

Thanks, Dima. Just yesterday I was wishing I could do this in Emacs without having to pop out to the command line… I made just a couple minor tweaks in 00d997ec and 4659f112.

Ah yes. 00d997ec is what I wanted to do, but not quite fluent enough in elisp yet. Thanks for cleaning that up. If you could update the .deb once the jessie freeze is over, that'd be great too; let me know if you need help with that.