You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
👋 Hey! I just noticed something interesting when trying to stage a file using the "Stage File" button in the "Unstaged Changes" diff view: when I change the file's mode from 644 to 755, Atom appears to stage the changes to its contents but not the changes to the mode. Right-clicking the file and clicking "Stage" works, and clicking "Stage All" works, but the diff view leaves the file in a half-staged netherworld. git diff from the command line shows the unstaged mode change.
Steps to Reproduce
Create a file (e.g., test.js).
Change the file's mode from 644 to 755.
Open the file in the Git package's diff view.
Click "Stage File."
Expected behavior: I would expect the whole file to be staged, including changes to its metadata.
Actual behavior: Only the contents of the file are staged.
Reproduces how often: 100% of the time.
Versions
~ ❯❯❯ atom --version
Atom : 1.18.0
Electron: 1.3.15
Chrome : 52.0.2743.82
Node : 6.5.0
~ ❯❯❯ apm --version
apm 1.18.1
npm 3.10.10
node 6.9.5 x64
python 2.7.13
git 2.13.1
~ ❯❯❯ sw_vers
ProductName: Mac OS X
ProductVersion: 10.12.5
BuildVersion: 16F73