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

Re: File Systems and a Theory of Edits

From
JDJohn M. Dlugosz <ngnr63q02@sneakemail.com>
Date
Jul 30, 2011, 19:40 UTC
Message-ID
<23101-1312054868-691056@sneakemail.com>
In-Reply-To
<CADo4Y9hG=-Bye5g7OWROJNbbUOcnH0hj0f3csws5V+YzEUKAMg@mail.gmail.com>
On 7/30/2011 9:29 AM, Michael Nahas wrote:
Show 6 quoted lines
> For these commands to work, the git command will have to include an
> argument that specifies which commit it operates on.  So some basic
> ones might be:
>      "git ls<commit>  -- <path>"
>      "git cat<commit>  -- <path>"
> (There exists "git ls-files", "git ls-tree", and "git cat-file" but

If you could "mount" a repository, then you would not need these commands at all. It would be in fact a read-only file system. Once mounted, the individual commits could be directories, and under that you explore in the usual way.

Previous: Michael NahasNext: Michael Witten
Message 6 of 15 in “File Systems and a Theory of Edits”
  1. Michael NahasJul 30, 2011
  2. Ævar Arnfjörð BjarmasonJul 30, 2011
  3. René ScharfeJul 31, 2011
  4. Junio C HamanoAug 1, 2011
  5. Michael NahasAug 1, 2011
  6. John M. DlugoszJul 30, 2011
  7. Michael WittenJul 31, 2011
  8. Jeff KingAug 1, 2011
  9. Michael NahasJul 31, 2011
  10. Michael WittenJul 31, 2011
  11. Michael NahasJul 31, 2011
  12. Andreas SchwabJul 31, 2011
  13. Michael NahasJul 31, 2011
  14. Michael NahasAug 1, 2011
  15. René ScharfeJul 31, 2011

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.