Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git fame does not work on any git repository #84

Open
kannanbalu opened this issue Jan 8, 2018 · 3 comments
Open

git fame does not work on any git repository #84

kannanbalu opened this issue Jan 8, 2018 · 3 comments

Comments

@kannanbalu
Copy link

Hi,
This issue is a blocker for me. I am trying to run git fame on windows 10 and below are the outputs:

$ git fame --version
git-fame 2.5.2 (c) 2012-2018 Linus Oleander

$ git --version
git version 2.14.1.windows.1

$ git fame .
Error: Branch 'master' does not exist.
Try --help for help.

$ git fame --branch=development
Error: Branch 'development' does not exist.
Try --help for help.

$ git branch

  • development
    master

I tried to execute the above commands from .git folder and still encounter the same error messages.

I have also tried to give --repository= and have the same issue.

I encounter the same issue with git-fame command as well.

Kindly assist as I am required to generate reports based on commits and am blocked by the above issue.

Thanks,

  • Kannan
@kannanbalu
Copy link
Author

Kindly assist on the above issue.

1 similar comment
@kannanbalu
Copy link
Author

Kindly assist on the above issue.

@MrShoenel
Copy link

MrShoenel commented May 19, 2020

I second this, same OS. Always getting fatal: not a git repository.

C:\repos\my-repo>git fame Error: Could not run 'git --git-dir='C:/repos/my-repo/.git' --work-tree='C:/repos/my-repo' ls-tree -r HEAD --name-only' => fatal: not a git repository: ''C:/repos/my-repo/.git''. Try --help for help.

When I run git ls-tree -r HEAD --name-only on my own, I get a list of all tracked files, so it's not Git that fails.
And yes, C:/repos/my-repo and C:/repos/my-repo/.git exist. It is a valid repository. I guess I am getting some concealed error here..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants