Remove extra git describe on Rake shell install.
Created by: cirosantilli
I'm sure there is a good reason for this, but I'm just too curious to know why =)
IIUC:
-
man gitrevisionssays that refnames are already searched underrefs/heads/<name>and thenrefs/remotes/<name>in that order by default. So sayinggit checkout branchwill findremote/origin/branchalready ifheads/branchdoes not exist. - no other type of revision name is stored under
refs/heads/remote
cc @crohr you may have written that line, sorry if not.
Actually , what I really wanted to do is to remove the describe entirely: if I give a ref from the command line, it is simpler to use it directly instead of describe ref. People should never install the latest stable and always give the version that corresponds to their gitlab instance.