Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 366758 - Requesting the capability to amend a commit message
Summary: Requesting the capability to amend a commit message
Status: CLOSED DUPLICATE of bug 358716
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-14 16:40 EST by Daniel U. Thibault CLA
Modified: 2013-05-26 17:29 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel U. Thibault CLA 2011-12-14 16:40:54 EST
Build Identifier: 20110916-0149 3.7.1 CDT+IC (Indigo Service Release 1 eclipse-linuxtools-indigo-SR1-incubation-linux-gtk-x86_64)

Eclipse's History view of git commits (Project (contextual): Team: Show in History) displays the commit message of any given commit.  It does not, however, allow editing this message.  One has to resort to the command line and do a 'git commit --amend' followed by some editing (it's a little more complicated if the message you want to change is not that of the most recent commit).  It would be nice if one could edit (and save) the commit message right from the History view.

Obviously, Eclipse should refuse to do so once the commit has been pushed out.

Reproducible: Always

Steps to Reproduce:
1. Inspect a git project
2. Obtain the project's contextual menu in the Project Explorer
3. Select Team: Show in History
4. Browse the commit message in the History view
Comment 1 Remy Suen CLA 2011-12-20 12:30:23 EST
(In reply to comment #0)
> One has to resort to the command line and
> do a 'git commit --amend' followed by some editing (it's a little more
> complicated if the message you want to change is not that of the most recent
> commit).

You can invoke another 'Team > Commit' and append the message this way. The alternative is to use the 'Git Staging' view.
Comment 2 Robin Stocker CLA 2013-05-26 17:29:32 EDT

*** This bug has been marked as a duplicate of bug 358716 ***