diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2025-09-10 22:42:22 +0200 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2025-09-10 22:42:22 +0200 |
| commit | 2cca6a4be5e6c7e347f96afcc6da9f13c2b49c9a (patch) | |
| tree | 68274a0bb079e9140828f44d55acf52e7da1127f | |
| parent | f71815a536350d1ab2941a42aced67f4405efafc (diff) | |
manual: Document magit-insert-unpushed-to-upstream-or-recent
| -rw-r--r-- | docs/magit.org | 9 | ||||
| -rw-r--r-- | docs/magit.texi | 9 |
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. |
