diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2025-07-11 21:03:36 +0200 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2025-07-11 21:03:36 +0200 |
| commit | c9d9ce1b9ad1352bcaf57514c35bbfc946ebff62 (patch) | |
| tree | f9d8f4bcd30291d9d0807fadf517516e1b1fbd70 /lisp/magit-refs.el | |
| parent | a89158b40a8c5f7a7e399631e95c13f460a33020 (diff) | |
Increase name consistency for "commit" arguments
- Never use REVISION.
- For arguments of commands use COMMIT.
- For arguments of other functions use REV.
Diffstat (limited to 'lisp/magit-refs.el')
| -rw-r--r-- | lisp/magit-refs.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/magit-refs.el b/lisp/magit-refs.el index 2bcee3e..a26981a 100644 --- a/lisp/magit-refs.el +++ b/lisp/magit-refs.el @@ -804,9 +804,9 @@ line is inserted at all." (message "No cherries for %s" ref) (magit-make-margin-overlay))))) -(defun magit-refs--format-margin (commit) - (if-let ((line (magit-rev-format "%cN%x00%ct" commit))) - (apply #'magit-log-format-margin commit (split-string line "\0")) +(defun magit-refs--format-margin (rev) + (if-let ((line (magit-rev-format "%cN%x00%ct" rev))) + (apply #'magit-log-format-margin rev (split-string line "\0")) (magit-make-margin-overlay))) ;;; _ |
