We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents da3288d + d10c846 commit 931bd3bCopy full SHA for 931bd3b
src/describe.c
@@ -685,7 +685,7 @@ int git_describe_commit(
685
get_name, &data)) < 0)
686
goto cleanup;
687
688
- if (git_oidmap_size(data.names) == 0 && !opts->show_commit_oid_as_fallback) {
+ if (git_oidmap_size(data.names) == 0 && !normalized.show_commit_oid_as_fallback) {
689
git_error_set(GIT_ERROR_DESCRIBE, "cannot describe - "
690
"no reference found, cannot describe anything.");
691
error = -1;
0 commit comments