```coffeescript
git = require '../git'
notifier = require '../notifier'
OutputViewManager = require '../output-view-manager'

module.exports = (repo) ->
  cwd = repo.getWorkingDirectory()
  git.cmd(['stash', 'pop'], {cwd}, color: true)
  .then (msg) ->
    OutputViewManager.getView().showContent(msg) if msg isnt ''
  .catch (msg) ->
    notifier.addInfo msg
```

Use ActivityLogger in stash pop
user
```coffeescript
git = require('../git-es').default
ActivityLogger = require('../activity-logger').default

module.exports = (repo) ->
  cwd = repo.getWorkingDirectory()
  git(['stash', 'pop'], {cwd, color: true})
  .then (result) ->
    ActivityLogger.record(Object.assign({message: 'Pop from stash'}, result))
```
assistant