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

Toggle Show Unreachable vs Reachable Commits #4

Open
haacked opened this issue Mar 9, 2012 · 3 comments
Open

Toggle Show Unreachable vs Reachable Commits #4

haacked opened this issue Mar 9, 2012 · 3 comments

Comments

@haacked
Copy link
Owner

haacked commented Mar 9, 2012

Being able to see the entire Git repository graph, not just the reachable commits, is very helpful for debugging git issues. For example, if you run: git reset HEAD~1 --soft, the branch pointer will move to its parent commit. But you may still want to see the child commit.

By default, we should only show the reachable commits. But let's have a toggle button that will show all commits in the git repo graph. The non-reachable commits should be slightly greyed out or something to indicate they're in an unreachable state.

@mdonatas
Copy link

@haacked the binary from your blog post http://haacked.com/archive/2012/03/15/visualize-git-with-seegit.aspx has this feature. That is it shows dangling (unreachable) commits though current version (built from master) doesn't.
Could you give me a pointer as to what could've changed for it to get intentionally or unintentionally broken?

@mdonatas
Copy link

My bad, it seems to be showing dangling commits (i.e. amended ones) only if SeeGit detects them while it's running.

@haacked
Copy link
Owner Author

haacked commented Jun 11, 2013

@mdonatas Yeas, that's the current behavior. Because we don't refresh our UI graph when commits go away. I'd like to have it show all commits, but that'd be a little tricky. We'd need to parse the reflog to find commits we might not know about. If it's not reachable, it's generally not easy to get a reference to it. :)

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

No branches or pull requests

2 participants