Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Merge requests
  • !7829

Closed
Created Sep 23, 2014 by Administrator@rootOwner
  • Report abuse
Report abuse

Remove extra git describe on Rake shell install.

  • Overview 3
  • Commits 1
  • Changes 1

Created by: cirosantilli

I'm sure there is a good reason for this, but I'm just too curious to know why =)

IIUC:

  • man gitrevisions says that refnames are already searched under refs/heads/<name> and then refs/remotes/<name> in that order by default. So saying git checkout branch will find remote/origin/branch already if heads/branch does 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.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: github/fork/cirosantilli/rm-extra-describe