Github: Git diff short stat absent from status bar

Created on 14 Jul 2017  路  8Comments  路  Source: atom/github

Prerequisites

  • Have you tried to reproduce the problem in Safe Mode?
    鉃★笍 Yes
  • Have you followed all applicable steps in the debugging guide?
    鉃★笍 Yes
  • Have you checked the FAQs on the message board for common solutions?
    鉃★笍 Yes
  • Have you checked that your issue isn't already filed?
    鉃★笍 Yes, at least I believe it wasn't

Description

Atom used to display, in the status bar, the number of changes for the opened file. For example, from this screenshot at https://github.com/atom/status-bar:

In recent versions (at least mine, 1.18.0), this seems to have disappeared:

screen shot 2017-07-14 at 17 30 54

Is there a way to get them back, or am I missing something?

Versions

Laptop is Mac OS X 10.11.6.

$ atom --version
Atom    : 1.18.0
Electron: 1.3.15
Chrome  : 52.0.2743.82
Node    : 6.5.0

I don't recall when I stop seeing this, but it's recent I believe or I would have noticed it before.

Most helpful comment

I'm using 1.25 and the stats aren't showing up on Lubuntu (when I disable github packages and restart atom they appear as usual, it seems that this package has conflicts with the status-bar package)

All 8 comments

The count of changed lines isn't currently part of what's displayed in the GitHub package status bar 鈥斅營'm not sure if this was an intentional omission or not (maybe @simurai knows for sure?) We're using a bit more room in the status bar for the new widgets (push/pull with count, change file count) but I'd be open to getting this information back in.

I would love that, it was very useful for checks at first glance when tabbing through files in big projects, etc.

Can't tell for sure, but it was probably intentional to replace it with the "2 files" button.

If we want to add back the "per file" diff button, clicking on it could run the github:view-unstaged-changes-for-current-file. As a shortcut to open the diff view and not having to go through the Git panel.

Not sure what to do if the file is already staged? Maybe there could be a github:view-changes-for-current-file that automatically switches between staged and unstaged. And favors unstaged for partially staged files?

/cc @kuychaco

Yeah I'm in favor of @simurai's proposals 馃憤

Can we get it back or is there any way to turn it on/off if it's still there?
It was very helpful.

I just updated to the atom 1.23.0-beta0 version and is able to see the git line diff in the status-bar.
Thank You Guys :+1: :100:

What a coincidence that I just posted my concern a day ago and got the change the other day.
Hope it happens a lot

But I think will lose that soon as this version has some issues with the git features not functioning properly.

I'm using 1.25 and the stats aren't showing up on Lubuntu (when I disable github packages and restart atom they appear as usual, it seems that this package has conflicts with the status-bar package)

Hi, I've just create this package, that is supposed to be the alternative for the Git-Diff package but also includes the integration with status-bar to show "per-file" diffs in it:
https://atom.io/packages/git-diff-plus
image

I'm grad if you guys find it helpful ! 馃憣

Was this page helpful?
0 / 5 - 0 ratings