-
Notifications
You must be signed in to change notification settings - Fork 126
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
Add a --transposed option to the diagram subcommand #145
Comments
I wouldn't mind such a feature, but I'm unlikely to have time to work on it. |
Any hints about how one should go about implementing it? |
I think the transposition would have to happen pretty late. Probably you'd want:
I think it would help to make a It's going to be subtle to implement this without adding conditional logic all over the place, but I think it's possible. If not, then it'd probably be better to live without this feature rather than complicating the code a lot. |
It would also be nice to see numbers that |
If one of the branches has lots of commits, the diagram can become too wide for the terminal and even wrap around, which makes it very hard to read.
Here's an example from a rebase I did today:
...which, when wrapped, becomes this:
I think an option to rotate the diagram, so that the shortest branch grows horizontally and the longest one grows vertically, would be helpful in these situations:
The text was updated successfully, but these errors were encountered: