[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#64055: [WIP Patch] Enable editing commit messages - vc-git-modify-ch
From: |
Morgan Smith |
Subject: |
bug#64055: [WIP Patch] Enable editing commit messages - vc-git-modify-change-comment |
Date: |
Tue, 13 Jun 2023 18:59:24 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Hello!
0001-enable-editing-log-comments.patch
Description: Text Data
Please look at this patch. Ignore the bad commit message for now, I'm
trying to figure out how to edit that :P.
I've spent far too long looking at git documentation and source code. I
think this is the best way to enable this feature. In fact I really
don't think there is another way to implement this feature that doesn't
rely on the "autosquash" git feature.
I found the hack located in vc-git-modify-change-comment' of setting
"GIT_SEQUENCE_EDITOR=:" on the internet and I don't understand how it
works.
Also I'm not really sure what the 'vc-dispatcher-browsing' function is
supposed to do but it's getting in my way. Like are 'diff-mode' buffers
a "directory browser buffer"? I don't understand the intent here.
Also you'll noticed I deleted some comments in vc.el. That's mainly to
highlight them so we can talk about them now. Is there a good way to
stop users from editing remote commits?
I feel like I should probably just keep working on this and get it more
polished and answer some of my own questions before posting here but I'm
getting kind of frustrated with this. I am many hours deep into this
problem.
Thanks,
Morgan
- bug#64055: [WIP Patch] Enable editing commit messages - vc-git-modify-change-comment,
Morgan Smith <=
bug#64055: [WIP Patch] Enable editing commit messages - vc-git-modify-change-comment, Dmitry Gutov, 2023/06/16