[Gambas-user] Why are the gitlab master and "system info" versions different?
mbelmonte at belmotek.net
Wed Jan 26 21:10:34 CET 2022
El 26/1/22 a las 17:19, Benoît Minisini escribió:
> As it is too long, gitlab only displays the eight first digits, whereas
> the git tools displays the seven first digits.
OK, I understand.
So the gambas IDE truncates into 7 characters what git gives , which
is the full hash.
But if you using  that gives the 7 char short version (that you say
 git rev-parse HEAD
 git log --pretty=format:'%h' -n 1
So, if it's not too much work since it's not that important either, it's
just to make it more user friendly and see the same code everywhere,
change the IDE to truncates the same as this in 8 characters.
More information about the User