atom/github

When viewing undo discard conflicts in a new file, set path to project folder

Open

#601 aberto em 7 de mar. de 2017

Ver no GitHub
 (1 comment) (0 reactions) (0 assignees)JavaScript (469 forks)batch import
gitgood first issue

Métricas do repositório

Stars
 (1.069 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

Currently we open the conflict file from the temporary folder. Instead we should create a new editor with the path set to /my/project/path/~file-under-conflict.txt (with a ~ to distinguish it from the original file) and setText to be the contents of the file in the temp folder.

Versions

GitHub Package Version (git --git-dir ~/.atom/packages/github/.git rev-parse head): 45e4e18cb7d44b7270dba6c092a2e1332868d8fe

Guia do colaborador