mirror of
https://github.com/atom/atom.git
synced 2026-02-14 08:35:11 -05:00
Add method to get ahead/behind commit counts
This commit is contained in:
@@ -138,5 +138,8 @@ class Git
|
||||
directoryStatus |= status if path.indexOf(directoryPath) is 0
|
||||
directoryStatus
|
||||
|
||||
getAheadBehindCounts: ->
|
||||
@getRepo().getAheadBehindCounts()
|
||||
|
||||
_.extend Git.prototype, Subscriber
|
||||
_.extend Git.prototype, EventEmitter
|
||||
|
||||
Reference in New Issue
Block a user