jacogr / atom-git-control

Not maintained :(
MIT License
227 stars 70 forks source link

The diff view always is empty #91

Closed rkmax closed 9 years ago

rkmax commented 9 years ago

The diff view always is empty

captura de pantalla de 2015-07-18 01-18-06

MarcelMue commented 9 years ago

I am a bit confused by your report. What happens if you click Compare (which should usually populate the diff view) ? Are there any errors thrown?

rkmax commented 9 years ago

No. I don't see errors but the diff view it's empty always, even if I clicked some file to compare

MarcelMue commented 9 years ago

Okay I marked this as a bug, does this happen with every git repository you work on? What Atom version are you using?

rkmax commented 9 years ago

Yes, it's happening with all repositories. I'm using atom 1.0.2, git control 0.3.0, let me know if you need further information

MarcelMue commented 9 years ago

I think your issue could be related to #40 but both issues seem to affect a small user base and I was unable to find a reason for the behavior so far ( some users have reported similar issues appearing and then disappearing again seemingly randomly which makes it hard to find the problem )

rkmax commented 9 years ago

is there any chance git-control may have conflicts with another extension?

my installed extensions

├── autocomplete-paths@1.0.2
├── color-picker@2.0.11
├── docblockr@0.7.3
├── editorconfig@1.0.1
├── git-control@0.3.0
├── git-diff-details@0.18.0
├── git-log@0.4.1
├── language-jade@0.5.1
├── linter@1.2.4
├── merge-conflicts@1.3.3
├── minimap@4.12.0
├── minimap-git-diff@4.1.7
├── node-resolver@1.0.1
├── react@0.12.5
└── terminal-panel@1.14.1
rkmax commented 9 years ago

@MarcelMue I reinstalled atom and now works! (mysteries of the universe). I think was something with my extensions

alexanderadam commented 8 years ago

Having the exact same issue just now.

I deleted a file (which was previously committed) and then I got an error message in the git-control console area:

> git --no-pager diff DELETED_FILENAME
fatal: DELETED_FILENAME: no such path in the working tree.
'git --no-pager diff DELETED_FILENAME'

The reason that it depends on a commit with a deleted file explains why the problem seems to appear "randomly".

Anyway: @jacogr your extension is really awesome! Thank you for it.