On Thu, Jan 9, 2014 at 6:42 AM, Carlos Baptista <
calu...@gmail.com> wrote:
>> Please help? I really like git-cola, but this way it is not working for
>> me.
Please try running out of the source tree and see if it's any different.
I'm not sure what your font issues are, but you can configure your
"diff" font in the preferences.
If what you mean by "weird fonts" is the dockwidget title labels, you
can tweak this code from cola/qtutils.py and see if it makes a
difference:
class DockTitleBarWidget(QtGui.QWidget):
def __init__(self, parent, title, stretch=True):
QtGui.QWidget.__init__(self, parent)
self.label = label = QtGui.QLabel()
font = label.font()
font.setCapitalization(QtGui.QFont.SmallCaps)
label.setFont(font)
label.setText(title)
Remove all the font lines (e.g. font.setCapitalization(...)) and it
won't use small caps in there. If you're talking about the monospace
font then change your preferences.
The app font is the one that is configured using qtconfig-qt4.
Basically, we inherit the system defaults.
RE: the password prompt. Try doing "ssh-add" before launching cola?
git-cola just does "git push" which itself respects $SSH_ASKPASS or
the $GIT_ASKPASS environment variables. Are these defined in your
environment? You probably also want a fairly modern git.
"git push" is the one that prompts and it runs the askpass program to
retrieve your password. Is password-less ssh an option? I'm assuming
you're using an ssh URL.
I'm not sure about what type of remote you're using specifically but
these should help:
https://github.com/blog/1104-credential-caching-for-wrist-friendly-git-usage
https://help.github.com/articles/set-up-git#password-caching
http://stackoverflow.com/questions/5343068/is-there-a-way-to-skip-password-typing-when-using-https-github
If you're seeing stuff in the shell then it's possible that "git push"
is actually waiting for your input there. You can verify that by
launching in the foreground and entering your password into the
terminal when you get in that state.
Nonetheless, using a credentials cache (or some other method that does
not require you to manually enter your password each time) is probably
the way to go.
--
David