mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-20 07:28:08 +03:00
Upgrade to git-utils 0.12
This commit is contained in:
parent
fe1b4c71a3
commit
c9e1f89b60
@ -7,7 +7,7 @@
|
||||
"ctags": "0.3.0",
|
||||
"oniguruma": "0.8.0",
|
||||
"mkdirp": "0.3.5",
|
||||
"git-utils": "0.11.0",
|
||||
"git-utils": "0.12.0",
|
||||
"underscore": "1.4.4",
|
||||
"d3": "3.0.8",
|
||||
"coffee-cache": "0.1.0",
|
||||
|
@ -95,11 +95,7 @@ class Git
|
||||
@isStatusNew(@getPathStatus(path))
|
||||
|
||||
relativize: (path) ->
|
||||
workingDirectory = @getWorkingDirectory()
|
||||
if workingDirectory and path.indexOf("#{workingDirectory}/") is 0
|
||||
path.substring(workingDirectory.length + 1)
|
||||
else
|
||||
path
|
||||
@getRepo().relativize(path)
|
||||
|
||||
getShortHead: ->
|
||||
@getRepo().getShortHead()
|
||||
|
Loading…
Reference in New Issue
Block a user