Re: File Systems and a Theory of Edits
- From
- John 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.