Skip to content
This repository has been archived by the owner on May 21, 2019. It is now read-only.

Commit

Permalink
Add note that there is nothing to commit in git status plugin (#863)
Browse files Browse the repository at this point in the history
* Add note that there is nothing to commit

* Fix lint
  • Loading branch information
drew-gross authored Nov 5, 2016
1 parent af95037 commit fe8eed5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/plugins/GitStatus.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,7 @@ class GitStatusComponent extends React.Component<GitStatusProps, GitStatusState>

return <div style={{ padding: "10px" }}>
<div>{branchText}</div>
{this.state.gitStatus.length === 0 ? <div>Nothing to commit, working tree clean.</div> : undefined}
<GitStatusSection
sectionType="Changes to be committed:"
files={stagedFilesDescriptions}
Expand Down

0 comments on commit fe8eed5

Please sign in to comment.