git-time-machine icon indicating copy to clipboard operation
git-time-machine copied to clipboard

No commits, nothing to see here

Open jcbritobr opened this issue 7 years ago • 8 comments

Git time machine cant see the commits in a project. When toggle the extension the only message is No commits, nothing to see here.

jcbritobr avatar Aug 28 '16 22:08 jcbritobr

There was one other report of it not working on "private repos". Not sure what that means. Have you tried against any other repos?

littlebee avatar Nov 13 '16 19:11 littlebee

bump

This is happening to me as well, but only on Windows 10 with the latest version (2.11.0) of the official git binaries. This happens regardless of which of Git\bin or Git\cmd is in my PATH variable. (Atom version is 1.12.9.)

The git-log package does not function, but git-plus works the same as it does on Linux. Perhaps some of the code from the latter should be brought into this package.

JVTT avatar Jan 06 '17 16:01 JVTT

yeah, but git plus doesn't do history.

I've been working on a branch of gtm that uses nodegit for git log operations. Unfortunately nodegit's current implementation rev walker is a lot slower than scraping and doesn't return all log entries for old projects with a lot of history. :( See issue here: https://github.com/nodegit/nodegit/issues/1068

littlebee avatar Feb 05 '17 17:02 littlebee

Actually, git-plus does have a view for git log output, which means that there shouldn't be any problem with getting that data in an Atom plugin. The git log package also does not work on my machine. Thus, it seems to me that the git-plus code is better able to handle git log output than the git-log and git-time-machine packages (which use the same code iirc).

JVTT avatar Feb 08 '17 15:02 JVTT

I'll gladly accept a pull request if you think you have the answer.

littlebee avatar Mar 27 '17 14:03 littlebee

It is actually stranger than I initially thought. It is working for new repositories (JS/PHP projects) but fails for two specific repos (C#/VB .NET). I cannot see any significant differences in the git configurations.

JVTT avatar Apr 06 '17 14:04 JVTT

I have found that this occurs when I am opening a project through the project-manager package. When a folder / project is opened directly in Atom (File -> Open, drag n' drop, atom /Path/to/project) the .git directory is recognized, however in projects which are already open or projects which are hot swapped through project manager the .git does not appear to be recognized.

waldnzwrld avatar Sep 07 '17 15:09 waldnzwrld

bump, exact same issue

ianseyer avatar May 14 '18 15:05 ianseyer