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

Fetching SHA id's instead of named references?

From
KLKlas Lindberg <klas.lindberg@gmail.com>
Date
Apr 6, 2009, 12:13 UTC
Message-ID
<33f4f4d70904060513k320fb6a0ya928c714dcd11e89@mail.gmail.com>
Hello
Is there a way to fetch based on SHA id's instead of named references?

My usage scenario is this: A change management tool based on version controlled manifest files (somewhat similar to Google's Repo) must be able to check out exact versions of all 200 trees in the project view. To support this, tags are used since they specify an exact revision. But there are two problems with tagging:

 * Tags are not immutable.
 * External components that already have a tagging style get polluted
by our excessive use of tags.

I would really prefer to just list SHA keys in the manifests, but fetch apparently doesn't support that? Could I use a combination of lower level commands instead?

BR / Klas
Next: Johannes Schindelin
Message 1 of 15 in “Fetching SHA id's instead of named references?”
  1. Klas LindbergApr 6, 2009
  2. Johannes SchindelinApr 6, 2009
  3. Klas LindbergApr 6, 2009
  4. Johannes SchindelinApr 6, 2009
  5. Dmitry PotapovApr 6, 2009
  6. Matthieu MoyApr 6, 2009
  7. Klas LindbergApr 6, 2009
  8. Finn Arne GangstadApr 6, 2009
  9. Shawn O. PearceApr 6, 2009
  10. Klas LindbergApr 6, 2009
  11. Nicolas PitreApr 6, 2009
  12. Klas LindbergApr 6, 2009
  13. Nicolas PitreApr 7, 2009
  14. Klas LindbergApr 8, 2009
  15. Nicolas PitreApr 8, 2009

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.