git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[GIT BUG] show-ref doesn't work with Symbolic Refs other than HEAD

From
CMCasey Meijer <cmeijer@strongestfamilies.com>
Date
Dec 20, 2019, 20:04 UTC
Message-ID
<BF8A29F0-0572-49EA-9E3F-AC6964C6D8B0@strongestfamilies.com>
In-Reply-To
<46A996A1-4B9D-4613-A49B-A95E98119DFA@strongestfamilies.com>
`git version 2.21.0`
 
Example
------------
 
`git symbolic-ref DEV refs/heads/dev`
`git symbolic-ref DEV`
`>> refs/heads/dev
`git show-ref DEV`
`>> [NO OUTPUT]`
 
Expected output
---------------------
 
`FULL_COMMIT_HASH refs/heads/dev`
 
 
Best,
 
Casey Meijer
Next: Junio C Hamano
Message 1 of 3 in “[GIT BUG] show-ref doesn't work with Symbolic Refs other than HEAD”
  1. Casey MeijerDec 20, 2019
  2. Junio C HamanoDec 20, 2019
  3. Casey MeijerDec 23, 2019

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.