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
Forked from OPAL / OPAL-X / src
153 commits behind the upstream repository.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
post-checkout 228 B
#!/bin/sh

REV=`git rev-parse HEAD`
echo "#define GIT_VERSION \"$REV\"" > revision.tmp

diff revision.tmp src/OPALrevision.h 2>&1 > /dev/null

if [ $? -eq 1 ];then
   mv revision.tmp src/OPALrevision.h
else
   rm revision.tmp
fi