Commit dc7aa5ca authored by Duianto Vebotci's avatar Duianto Vebotci Committed by Jonas Bernoulli

Update doc-strings: HEAD changed to `HEAD'

parent eb4258ea
......@@ -2157,7 +2157,7 @@ Also see [[man:git-diff]]
RANGE should be a range (A..B or A...B) but can also be a single
commit. If one side of the range is omitted, then it defaults to
HEAD. If just a commit is given, then changes in the working tree
~HEAD~. If just a commit is given, then changes in the working tree
relative to that commit are shown.
If the region is active, use the revisions on the first and last
......@@ -2501,7 +2501,7 @@ information on how to use Ediff itself, see info:ediff.
- Key: E w, magit-ediff-show-working-tree
Show changes in a file between HEAD and working tree using Ediff.
Show changes in a file between ~HEAD~ and working tree using Ediff.
- Key: E c, magit-ediff-show-commit
......@@ -3978,7 +3978,7 @@ commands and binding ~C-c ^ C-h~ and press ~RET~ while point is on a
command name to read its documentation.
Normally you would edit one version and then tell Smerge to keep only
that version. Use ~C-c ^ m~ (~smerge-keep-mine)~ to keep the "HEAD"
that version. Use ~C-c ^ m~ (~smerge-keep-mine~) to keep the ~HEAD~
version or ~C-c ^ o~ (~smerge-keep-other~) to keep the version that
follows "|||||||". Then use ~C-c ^ n~ to move to the next conflicting
area in the same file. Once you are done resolving conflicts, return
......
......@@ -2977,7 +2977,7 @@ Show differences between two commits.
RANGE should be a range (A..B or A@dots{}B) but can also be a single
commit. If one side of the range is omitted, then it defaults to
HEAD. If just a commit is given, then changes in the working tree
@code{HEAD}. If just a commit is given, then changes in the working tree
relative to that commit are shown.
If the region is active, use the revisions on the first and last
......@@ -3428,7 +3428,7 @@ Show staged changes to a file using Ediff.
@cindex magit-ediff-show-working-tree
@item @kbd{E w} @tie{}@tie{}@tie{}@tie{}(@code{magit-ediff-show-working-tree})
Show changes in a file between HEAD and working tree using Ediff.
Show changes in a file between @code{HEAD} and working tree using Ediff.
@kindex E c
@cindex magit-ediff-show-commit
......@@ -5409,7 +5409,7 @@ commands and binding @code{C-c ^ C-h} and press @code{RET} while point is on a
command name to read its documentation.
Normally you would edit one version and then tell Smerge to keep only
that version. Use @code{C-c ^ m} (@code{smerge-keep-mine)} to keep the "HEAD"
that version. Use @code{C-c ^ m} (@code{smerge-keep-mine}) to keep the @code{HEAD}
version or @code{C-c ^ o} (@code{smerge-keep-other}) to keep the version that
follows "|||||||". Then use @code{C-c ^ n} to move to the next conflicting
area in the same file. Once you are done resolving conflicts, return
......
......@@ -146,8 +146,8 @@ an error while using those is harder to recover from."
;;;###autoload
(defun magit-commit (&optional args)
"Create a new commit on HEAD.
With a prefix argument amend to the commit at HEAD instead.
"Create a new commit on `HEAD'.
With a prefix argument, amend to the commit at `HEAD' instead.
\n(git commit [--amend] ARGS)"
(interactive (if current-prefix-arg
(list (cons "--amend" (magit-commit-arguments)))
......
......@@ -77,7 +77,7 @@ staged changes, fall back to a two-buffer Ediff.
More specifically, a stash is a merge commit, stash@{N}, with
potentially three parents.
* stash@{N}^1 represents the HEAD commit at the time the stash
* stash@{N}^1 represents the `HEAD' commit at the time the stash
was created.
* stash@{N}^2 records any changes that were staged when the stash
......@@ -401,7 +401,7 @@ FILE must be relative to the top directory of the repository."
;;;###autoload
(defun magit-ediff-show-working-tree (file)
"Show changes between HEAD and working tree using Ediff.
"Show changes between `HEAD' and working tree using Ediff.
FILE must be relative to the top directory of the repository."
(interactive
(list (magit-read-file-choice "Show changes in file"
......
......@@ -56,7 +56,7 @@
;;;###autoload
(defun magit-run-git-gui-blame (commit filename &optional linenum)
"Run `git gui blame' on the given FILENAME and COMMIT.
Interactively run it for the current file and the HEAD, with a
Interactively run it for the current file and the `HEAD', with a
prefix or when the current file cannot be determined let the user
choose. When the current buffer is visiting FILENAME instruct
blame to center around the line point is on."
......
......@@ -966,10 +966,10 @@ which is different from the current branch and still exists."
(defun magit-get-current-tag (&optional rev with-distance)
"Return the closest tag reachable from REV.
If optional REV is nil then default to \"HEAD\".
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
of commits in \"HEAD\" but not in TAG and DIRTY is t if there are
of commits in `HEAD' but not in TAG and DIRTY is t if there are
uncommitted changes, nil otherwise."
(--when-let (magit-git-str "describe" "--long" "--tags"
(and (eq with-distance 'dirty) "--dirty") rev)
......@@ -985,7 +985,7 @@ uncommitted changes, nil otherwise."
(defun magit-get-next-tag (&optional rev with-distance)
"Return the closest tag from which REV is reachable.
If optional REV is nil then default to \"HEAD\".
If optional REV is nil then default to `HEAD'.
If no such tag can be found or if the distance is 0 (in which
case it is the current tag, not the next) return nil instead.
If optional WITH-DISTANCE is non-nil then return (TAG COMMITS)
......
......@@ -786,7 +786,7 @@ to visit the commit at point.
Type \\[magit-branch-popup] to see available branch commands.
Type \\[magit-merge-popup] to merge the branch or commit at point.
Type \\[magit-cherry-pick-popup] to apply the commit at point.
Type \\[magit-reset] to reset HEAD to the commit at point.
Type \\[magit-reset] to reset `HEAD' to the commit at point.
\\{magit-log-mode-map}"
:group 'magit-log
......@@ -1353,7 +1353,7 @@ Type \\[magit-visit-thing] or \\[magit-diff-show-or-scroll-up] \
to visit the commit at point.
Type \\[magit-cherry-pick-popup] to apply the commit at point.
Type \\[magit-reset] to reset HEAD to the commit at point.
Type \\[magit-reset] to reset `HEAD' to the commit at point.
\\{magit-reflog-mode-map}"
:group 'magit-log
......
......@@ -144,7 +144,7 @@ the outcome.
With a prefix argument update the buffer to show commit counts
and lists of cherry commits relative to the reference at point
instead of relative to the current buffer or HEAD.
instead of relative to the current buffer or `HEAD'.
Instead of adding this symbol, consider pressing \"C-u y o RET\".
......@@ -160,7 +160,7 @@ the outcome.
`checkout-any'
Check out the reference at point. If that reference is a tag
or a remote branch, then this results in a detached HEAD.
or a remote branch, then this results in a detached `HEAD'.
Instead of adding this symbol, consider pressing \"b b RET\",
like you would do in other buffers.
......@@ -201,7 +201,7 @@ to visit the commit or branch at point.
Type \\[magit-branch-popup] to see available branch commands.
Type \\[magit-merge-popup] to merge the branch or commit at point.
Type \\[magit-cherry-pick-popup] to apply the commit at point.
Type \\[magit-reset] to reset HEAD to the commit at point.
Type \\[magit-reset] to reset `HEAD' to the commit at point.
\\{magit-refs-mode-map}"
:group 'magit-refs
......
......@@ -722,7 +722,7 @@ To add this command to the push popup add this to your init file:
When a single commit is given for RANGE, create a patch for the
changes introduced by that commit (unlike 'git format-patch'
which creates patches for all commits that are reachable from
HEAD but not from the specified commit)."
`HEAD' but not from the specified commit)."
(interactive
(list (-if-let (revs (magit-region-values 'commit))
(concat (car (last revs)) "^.." (car revs))
......
......@@ -117,7 +117,7 @@
(defface magit-head
'((((class color) (background light)) :inherit magit-branch-local)
(((class color) (background dark)) :inherit magit-branch-local))
"Face for the symbolic ref \"HEAD\"."
"Face for the symbolic ref `HEAD'."
:group 'magit-faces)
(defface magit-refname
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment