This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 234942 - "Amend Last Commit" shouldn't overwrite typed text
Summary: "Amend Last Commit" shouldn't overwrite typed text
Status: RESOLVED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Git (show other bugs)
Version: 7.4
Hardware: PC Windows Vista
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-24 14:22 UTC by unai
Modified: 2013-08-27 01:06 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description unai 2013-08-24 14:22:57 UTC
[ JDK VERSION : <1.7.0_21 ]

In the Commit window (Team | Commit...), the "Amend Last Commit" checkbox
shoudln't silently overwrite the text typed into the "Commit Message:" text
area unless no text has been typed in there; when it's unedited it's desirable
that it gets prefilled with the commit message of the last commit, when it has
been edited it is not.

CURRENT BEHAVIOUR:
No matter what user has written into "Commit Message:", text is overwritten
with last commit message upon ticking "Amend Last Commit".

SUGGESTED BEHAVIOUR:
"Commit Message:" is overwritten with last commit message upon ticking "Amend
Last Commit" only if no text has been inserted yet.
Comment 1 Ondrej Vrabec 2013-08-26 09:36:59 UTC
fix: http://hg.netbeans.org/core-main/rev/39677a09b636
Comment 2 Quality Engineering 2013-08-27 01:06:07 UTC
Integrated into 'main-silver', will be available in build *201308270001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/39677a09b636
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: #234942 - "Amend Last Commit" shouldn't overwrite typed text
preventing from minor data loss