Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects
Commit 6b76a5d6 authored by snuverink_j's avatar snuverink_j
Browse files

only create src/OPALrevision.h if changed

parent 060cafb9
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,12 @@
#
print () {
echo '#define GIT_VERSION '\"$1\" > src/OPALrevision.h
echo '#define GIT_VERSION '\"$1\" > src/OPALrevision-new.h
if [[ -e src/OPALrevision.h ]] && cmp -s src/OPALrevision.h src/OPALrevision-new.h; then
rm src/OPALrevision-new.h
else
mv src/OPALrevision-new.h src/OPALrevision.h
fi
}
# if git(1) is not in $PATH
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment