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

Are you able to [build Git](https://github.com/git-for-windows/git/wiki/Building-Git)? It would be interesting to instrument the code (read: litter it with debug print statements) and figure out _where_ the actual root cause lies, and what error code is actually returned (and why). For starters, I would start with these code locations, if I were you: #4

Open
zorro-ryp opened this issue Aug 12, 2020 · 0 comments

Comments

@zorro-ryp
Copy link
Owner

Are you able to build Git? It would be interesting to instrument the code (read: litter it with debug print statements) and figure out where the actual root cause lies, and what error code is actually returned (and why). For starters, I would start with these code locations, if I were you:

$ git grep "unable to resolve reference" \*.c
refs/files-backend.c:                           strbuf_addf(err, "unable to resolve reference '%s'",
refs/files-backend.c:                           strbuf_addf(err, "unable to resolve reference '%s'",
refs/files-backend.c:                           strbuf_addf(err, "unable to resolve reference '%s'",
refs/files-backend.c:                   strbuf_addf(err, "unable to resolve reference '%s': "
refs/files-backend.c:                   strbuf_addf(err, "unable to resolve reference '%s': %s",
refs/files-backend.c:                   strbuf_addf(err, "unable to resolve reference '%s': %s",

Originally posted by @dscho in git-for-windows/git#2778 (comment)

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

1 participant