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

Add commit info to version.h #19542

Merged
merged 8 commits into from
Feb 2, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update lib/python/qmk/git.py
Co-authored-by: Joel Challis <[email protected]>
  • Loading branch information
elpekenin and zvecr committed Jan 9, 2023
commit b0e31f3fc4fb58ce424ac819e0f1196e6443f250
2 changes: 1 addition & 1 deletion lib/python/qmk/git.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,6 @@ def git_get_ignored_files(check_dir='.'):
def git_get_qmk_hash():
output = cli.run(['git', 'rev-parse', '--short', 'HEAD'])
if output.returncode != 0:
return "Unknown"
return None

return output.stdout.strip()