branch: elpa/magit commit 2cca6a4be5e6c7e347f96afcc6da9f13c2b49c9a Author: Jonas Bernoulli <jo...@bernoul.li> Commit: Jonas Bernoulli <jo...@bernoul.li>
manual: Document magit-insert-unpushed-to-upstream-or-recent --- docs/magit.org | 9 +++++++++ docs/magit.texi | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/docs/magit.org b/docs/magit.org index c0b8de28ecf..538a908a51c 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 96adc78e586..64f6a0d7580 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.