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

Minor tweaks to commit line drawing #74

Open
wants to merge 1 commit into
base: experimental
Choose a base branch
from

Conversation

lilyball
Copy link

@lilyball lilyball commented Nov 9, 2010

The first commit is unambiguously correct. It cleans up the column guide drawing code to draw the line more accurately (instead of 5 pixels off, as it is right now) and to stop relying on the dirty rect as part of its positioning code.

The second commit is something that I really like. It adds the ability to have two separate column guides, one for the first line and one for all subsequent lines. Right now this is kept as a hidden preference that defaults to off, but if accepted then it should be added to the preferences window.

@lilyball
Copy link
Author

Hrm, apparently pushing a new commit automatically adds it to the existing pull request. That's kinda neat, but also unexpected.

The conventional git commit message styling says to limit your first line
to roughly 50 characters, and subsequent lines to 76 characters. The column
guide in GitX doesn't support this.

Implement 2 new hidden preferences, one to determine whether it uses a split
column guide and the other to set the length of this guide. Default these
preferences to NO and 76, respectively. When the split column guide is
turned on, the drawing code will draw the normal column guide only for the
first line and it will use the split column guide length for every other
line.
@lilyball
Copy link
Author

lilyball commented Dec 9, 2010

Looks like you pulled in the first commit at some point. Any chance of pulling in the second? I still needs an actual GUI preference, but I don't see why that has to hold up adding the functionality. I've had to distribute my custom build of GitX to everyone in the office instead of letting them download yours because of this.

kelan pushed a commit to kelan/gitx that referenced this pull request May 15, 2017
Show stash contents when selected in the sidebar
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

Successfully merging this pull request may close these issues.

1 participant