diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2025-02-21 02:05:31 +0100 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2025-02-21 02:05:31 +0100 |
| commit | d4fdadc127d3d8b98e71d38675bb0438c6ae93f1 (patch) | |
| tree | 2eea6415db5aedcfe1884a40cce3ec5efed13829 /lisp/magit-git.el | |
| parent | 587fd04075b20b31adaf8c5ba4912052448e15ba (diff) | |
Fix various docstrings
Diffstat (limited to 'lisp/magit-git.el')
| -rw-r--r-- | lisp/magit-git.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/magit-git.el b/lisp/magit-git.el index d1cf573..76b976d 100644 --- a/lisp/magit-git.el +++ b/lisp/magit-git.el @@ -1463,7 +1463,7 @@ If REFNAME is ambiguous, return nil." Return an unambiguous refname, either REFNAME or that prefixed with PREFIX, nil otherwise. If REFNAME has an offset suffix such as \"~1\", then that is preserved. If optional PREFIX is -nil, then use \"heads/\". " +nil, then use \"heads/\"." (if (magit-ref-ambiguous-p refname) (let ((refname (concat (or prefix "heads/") refname))) (and (not (magit-ref-ambiguous-p refname)) refname)) @@ -1873,7 +1873,7 @@ the name of a remote and REF is the ref local to the remote." If optional REV is nil, then default to `HEAD'. If optional WITH-DISTANCE is non-nil then return (TAG COMMITS), -if it is `dirty' return (TAG COMMIT DIRTY). COMMITS is the number +if it is `dirty' return (TAG COMMIT DIRTY). COMMITS is the number of commits in `HEAD' but not in TAG and DIRTY is t if there are uncommitted changes, nil otherwise." (and-let* ((str (magit-git-str "describe" "--long" "--tags" |
