Skip to content

Commit d90f49d

Browse files
committed
Stop trying to be too smart about the source remote
Fix vermiculus#83
1 parent 193dfcf commit d90f49d

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

magithub-core.el

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -405,11 +405,7 @@ See `magithub-features'."
405405

406406
(defun magithub-source-remote ()
407407
"Tries to determine the correct remote to use for issue-tracking."
408-
(let ((curbranch (magit-get-current-branch)))
409-
(or (magit-get "magithub" "proxy")
410-
(magit-get-upstream-remote curbranch)
411-
(magit-get-remote curbranch)
412-
"origin")))
408+
(or (magit-get "magithub" "proxy") "origin"))
413409

414410
(defun magithub-source-repo (&optional required full)
415411
"Returns a sparse repository object for the current context.

0 commit comments

Comments
 (0)