From 7bc4078136896b4e2637a491a9a827fa9a186ff2 Mon Sep 17 00:00:00 2001 From: David Aguilar Date: Tue, 26 Nov 2019 23:07:07 -0800 Subject: [PATCH] editremotes: use cached remote information Do not query remotes when displaying information about them. Closes #986 Reported-by: Harro Verton Signed-off-by: David Aguilar --- cola/widgets/editremotes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cola/widgets/editremotes.py b/cola/widgets/editremotes.py index 64c6f82d..b62da8a5 100644 --- a/cola/widgets/editremotes.py +++ b/cola/widgets/editremotes.py @@ -353,7 +353,7 @@ class RemoteInfoThread(QtCore.QThread): if remote is None: return git = self.context.git - _, out, err = git.remote('show', remote) + _, out, err = git.remote('show', '-n', remote) # This call takes a long time and we may have selected a # different remote... if remote == self.remote: -- 2.11.4.GIT