brackets-userland / brackets-git

brackets-git — git extension for adobe/brackets
Other
656 stars 193 forks source link

Commit counter checks current upstream, remote pick only refreshes counter #1261

Closed mattbell87 closed 8 years ago

mattbell87 commented 8 years ago

Fixes #1257 and #1259

Note: While this works there is no checking to see whether branch or remote is undefined, so there are some errors on the console when working with remoteless repos. I need some advise on how to return { behind: -1, ahead: -1 } if one of these are undefined.

zaggino commented 8 years ago

Oh, I've just made some changes to this too, you'll need to merge with master first, sorry.

zaggino commented 8 years ago

And you should also find the answer to your question in my code after you merge I think :)

mattbell87 commented 8 years ago

Hahah yeah I had only synced within the last 15 min but there must have been changes since.

mattbell87 commented 8 years ago

I'll fix the conflicts :+1:

mattbell87 commented 8 years ago

Seems to be working nicely after fixing the conflict

mattbell87 commented 8 years ago

Commited a fix to #1259 also

zaggino commented 8 years ago

Thanks, merged! :+1: