mirror of
https://github.com/atom/atom.git
synced 2026-02-08 21:55:05 -05:00
Show diff stat in status bar
Include the number of lines added and removed for new and modified files
This commit is contained in:
@@ -63,3 +63,7 @@ class Git
|
||||
|
||||
checkoutHead: (path) ->
|
||||
@repo.checkoutHead(@relativize(path))
|
||||
|
||||
getDiffStats: (path) ->
|
||||
stats = @repo.getDiffStats(@relativize(path))
|
||||
stats or {'added': 0, 'deleted': 0}
|
||||
|
||||
Reference in New Issue
Block a user