Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for packfiles #3

Open
wherka-ama opened this issue Jul 9, 2023 · 4 comments
Open

Support for packfiles #3

wherka-ama opened this issue Jul 9, 2023 · 4 comments

Comments

@wherka-ama
Copy link

First of all - this little tool is great! Good job 👍

I like it very much and it may indeed serve as a great help during the training and/or mentoring sessions to visualize the concepts related to git.

However, it doesn't seem to support packfiles. It only traverses loose objects. In that regard the tool is fairly limited as the packfiles are very common and being able to visualizing the repo with them would be quite nice indeed.

@riezebosch
Copy link
Owner

Thanks! I'm aware that it only traverses loose files. In my first application I even parsed that files by hand. That's why I never bothered into reverse engineering the pack file format. I always explain the concept of pack files, that than ultimately diffs are stored, I can even show it happening with git gc but still don't bother adding support in the tool. If you have some spare time, feel free to contribute 😉

@wherka-ama
Copy link
Author

wherka-ama commented Feb 22, 2024

Thanks! I'm aware that it only traverses loose files. In my first application I even parsed that files by hand. That's why I never bothered into reverse engineering the pack file format. I always explain the concept of pack files, that than ultimately diffs are stored, I can even show it happening with git gc but still don't bother adding support in the tool. If you have some spare time, feel free to contribute 😉

Hey Manuel, hope you're fine.
Spare time is a bit hard to come by these days, but I'd be happy to try making some time and trying. However, don't hold me to any deadlines please 😄

@riezebosch
Copy link
Owner

Ha, it took me 7 months to reply to your message 😬

@riezebosch
Copy link
Owner

What I would like to see is not showing the actual contents of the pack file but rather in and out pointing references. My original goal was to show the on-disk representation of the graph.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants