Skip to content

Commit 22f905c

Browse files
committed
forge-pull: Don't prompt to fetch all when called interactively
Re magit#382.
1 parent 483baae commit 22f905c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lisp/forge-commands.el

+1
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ If pulling is too slow, then also consider setting the Git variable
107107
(magit-git-config-p "forge.autoPull" t))
108108
(forge--zap-repository-cache repo)
109109
(when (and (oref repo selective-p)
110+
(called-interactively-p 'any)
110111
(yes-or-no-p
111112
(format "Always pull all of %s/%s's topics going forward?"
112113
(oref repo owner)

0 commit comments

Comments
 (0)