JK-Wang opened a new pull request, #12849: URL: https://github.com/apache/kafka/pull/12849
Reproduce step: 1. get src.zip 2. unzip and execute `git init` 3. execute `./gradlew jar` gradle error is: `Property 'commitId' doesn't have a configured value.` This is because `.git/HEAD` is `ref: refs/heads/master`, but `.git/refs/heads/master` is not exist After this patch, commitId will return `unknown` in the above case -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org