Skip to content

Commit

Permalink
fixup(b068821): Streamline tracking a new repository
Browse files Browse the repository at this point in the history
  • Loading branch information
tarsius committed Apr 22, 2024
1 parent 60f5615 commit 3b91b95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lisp/forge-commands.el
Original file line number Diff line number Diff line change
Expand Up @@ -1039,7 +1039,7 @@ upstream remote. Also fetch from REMOTE."
:scope (forge-get-repository repo nil :stub?)))
(t
(when-let*
((not (eq limit :selective))
(((not (eq limit :selective)))
((magit-git-config-p "forge.autoPull" t))
(remote (oref repo remote))
(refspec (oref repo pullreq-refspec))
Expand All @@ -1051,7 +1051,7 @@ upstream remote. Also fetch from REMOTE."
(format "remote.%s.fetch" remote)
refspec))
(setq repo (forge-get-repository repo nil :insert!))
(when (eq limit 'selective)
(when (eq limit :selective)
(oset repo selective-p t)
(setq limit nil))
(forge--pull repo nil limit))))
Expand Down

0 comments on commit 3b91b95

Please sign in to comment.