mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Just Use Clone.
This commit is contained in:
@@ -76,9 +76,7 @@ class GitRepository
|
||||
unless @repo?
|
||||
throw new Error("No Git repository found searching path: #{path}")
|
||||
|
||||
asyncOptions = {}
|
||||
for key, val of options
|
||||
asyncOptions[key] = val
|
||||
asyncOptions = _.clone(options)
|
||||
# GitRepository itself will handle these cases by manually calling through
|
||||
# to the async repo.
|
||||
asyncOptions.refreshOnWindowFocus = false
|
||||
|
||||
Reference in New Issue
Block a user