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

Bolding file name if it’s not staged. #955

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

victor-torres
Copy link

@victor-torres victor-torres commented Oct 9, 2016

As mentioned in these issues across Atom repositories:

I found it difficult to choose a new color schema to identify unstaged files (atom/one-light-ui@6a0f4d9) so I’ve just bolded the filename to identify files not staged yet.

I maintain a plugin called atom-hg and my isStatusStaged method is already exposed. There’s a method with the same name in git-utils but it doesn’t seem to be exposed yet so I manually added the same verification as a fallback ((status & 15) > 0).

It would help a lot because we’ll finally have a clue whether a file is staged or not.

@victor-torres
Copy link
Author

Could someone take a look here?

@a7madgamal
Copy link

this is awesome. any updates?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants