Skip to content
Commit a828f0d6 authored by Mathieu Choplain's avatar Mathieu Choplain Committed by Erwan Gouriou
Browse files

scripts: genpinctrl: support non-Git pin data folder



This commit adds error checking to the call to `git rev-parse HEAD`,
to ensure genpinctrl does not crash when the pin data folder is not
a Git repository. In such cases, "<unknown commit>" is written to
the pinctrl README file.

Signed-off-by: default avatarMathieu Choplain <mathieu.choplain@st.com>
parent 808602c4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment