aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/magit.org9
-rw-r--r--docs/magit.texi9
2 files changed, 18 insertions, 0 deletions
diff --git a/docs/magit.org b/docs/magit.org
index c0b8de2..538a908 100644
--- a/docs/magit.org
+++ b/docs/magit.org
@@ -2236,6 +2236,15 @@ hooks and how to customize them.
Insert section showing commits that haven't been pulled from the
push-remote branch yet.
+- Function: magit-insert-unpushed-to-upstream-or-recent ::
+
+ Insert section showing unpushed or other recent commits.
+ If an upstream is configured for the current branch and it is
+ behind of the current branch, then show the commits that have
+ not yet been pushed into the upstream branch. If no upstream is
+ configured or if the upstream is not behind of the current branch,
+ then show the last ~magit-log-section-commit-count~ commits.
+
- Function: magit-insert-unpushed-to-upstream ::
Insert section showing commits that haven't been pushed to the
diff --git a/docs/magit.texi b/docs/magit.texi
index 96adc78..64f6a0d 100644
--- a/docs/magit.texi
+++ b/docs/magit.texi
@@ -2619,6 +2619,15 @@ Insert section showing commits that haven't been pulled from the
push-remote branch yet.
@end defun
+@defun magit-insert-unpushed-to-upstream-or-recent
+Insert section showing unpushed or other recent commits.
+If an upstream is configured for the current branch and it is
+behind of the current branch, then show the commits that have
+not yet been pushed into the upstream branch. If no upstream is
+configured or if the upstream is not behind of the current branch,
+then show the last @code{magit-log-section-commit-count} commits.
+@end defun
+
@defun magit-insert-unpushed-to-upstream
Insert section showing commits that haven't been pushed to the
upstream yet.