1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-04-09 21:50:45 +01:00

more explicit clean git tree message

This commit is contained in:
Antonin Portelli 2018-09-01 20:02:18 +01:00
parent fada2aa0f7
commit 0bb532f72b

View File

@ -27,7 +27,7 @@ version-cache:
if [ `git status --porcelain | grep -v '??' | wc -l` -gt 0 ]; then\ if [ `git status --porcelain | grep -v '??' | wc -l` -gt 0 ]; then\
a="uncommited changes";\ a="uncommited changes";\
else\ else\
a="no uncommitted changes";\ a="clean";\
fi;\ fi;\
echo "`git log -n 1 --format=format:"#define GITHASH \\"%H:%d $$a\\"%n" HEAD`" > vertmp;\ echo "`git log -n 1 --format=format:"#define GITHASH \\"%H:%d $$a\\"%n" HEAD`" > vertmp;\
if [ -e version-cache ]; then\ if [ -e version-cache ]; then\