GitHub changed their site to use SSL. On error GitHub may return the "All Gists" page which will have several "gist: #", so check for the edit link instead.
It will now remember it's position and the divider will not move when the window resizes.
It will now remember it's position and the divider will keep its position relative to the bottom when the window resizes.
Save the position correctly (it wasn't saving before). Restore the position sometime after awakeFromNib otherwise the superview's size will not have been set yet. Also constrain the divider from moving unless the lower view is too small.
…f the user has an external diff configured
This allows the user to suppress the display of some of the warning dialogs (like "Confirm before Push"). They can be reset with Reset Warnings in the General preferences.
When drawing the commit message line, the given rect should not be used for anything other than clipping. According to the comment, the code that draws the line relies on the text view always drawing complete lines. However, it also draws fragments, specifically when the insertion point is flashing. By ignoring the given rect, not only is our line more accurate in its positioning, but we also handle the case where the insertion point is sitting on top of the line.
Opens the GitX Lighthouse page.
'git pull remote branch' will not update the remote's tracking branches, only the selected local branch. It may not be readily apparent that this happened. So remove the cases where GitX would pull just a single branch and always pull all the tracking branches. The current checked out branch will still be updated as normal.
…e branch sheet
Only use the ref being rebased onto otherwise git will create a detached HEAD.
Something in webkit doesn't like the button html element nor the -webkit-appearance: button css tag. Ends up crashing in one of various WebCore::ThemeMac::paint functions. This would crash for anyone on 10.5 with the Gist it button enabled (which it is by default so that means anyone who ran it for the first time). Changing the button back to the way it was before SHA:b557d6b5c6e675216d340d20833f39d0096b7ccc
…t in the file list's bar
This does not affect the display of the diff, since it is done with git show --pretty=raw. Signed-off-by: Johannes Gilger <firstname.lastname@example.org>
This honors the preferences for showing differences in whitespacing when using diff between single revisions/branches. Signed-off-by: Johannes Gilger <email@example.com>
This clears the list of files before redrawing the showDiff method. Fixes Lighthouse ticket #263 Signed-off-by: Johannes Gilger <firstname.lastname@example.org>
When there are many tags in a commit we want them to wrap. This fixes lighthouse ticket #220. Signed-off-by: Johannes Gilger <email@example.com>
This allows running the gitx cli in a subdirectory and specifying file paths in that directory without having to type out the full path.