Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Amend commit message doesn't update when branch is switched #1290

@Arcanemagus

Description

@Arcanemagus

Prerequisites

Description

The commit message brought up by enabling "Amend" doesn't update when the branch is switched.

Steps to Reproduce

  1. Open Atom in safe mode to a project that uses git
  2. Enable "Amend" and note the commit message shown
  3. Disable "Amend"
  4. Switch the branch to a different branch, either from within Atom or any external tool.
  5. Enable "Amend" and note that the commit message shown hasn't updated.

Expected behavior:

The commit message shown when "Amend" is enabled should always be the latest commit on the current branch, whatever that may be.

Actual behavior:

The commit message doesn't update when the branch is changed.

2018-01-18_12-18-46

Reproduces how often:

100% of the time.

Versions

Atom    : 1.24.0-beta3
Electron: 1.6.15
Chrome  : 56.0.2924.87
Node    : 7.4.0
apm  1.18.12
npm  3.10.10
node 6.9.5 x64
atom 1.24.0-beta3
python 2.7.14
git 2.15.1.windows.2
visual studio 2015

OS: Windows 10 x64

Additional Information

This is related to #1219, if not the same root cause.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions