aboutsummaryrefslogtreecommitdiffstats
path: root/admin/gitmerge.el
diff options
context:
space:
mode:
authorStefan Kangas2021-11-11 10:22:05 +0100
committerStefan Kangas2021-11-11 10:28:31 +0100
commit12a638d845ec19f632f4257fbeaf00c9a87f7d54 (patch)
treeb04394b8217442e42c4763409630e99d6261eb5e /admin/gitmerge.el
parent3020791e77872dbc757beb0ebdd8dbcb5b565f88 (diff)
downloademacs-12a638d845ec19f632f4257fbeaf00c9a87f7d54.tar.gz
emacs-12a638d845ec19f632f4257fbeaf00c9a87f7d54.zip
; * admin/gitmerge.el: Fix typos.
Diffstat (limited to 'admin/gitmerge.el')
-rw-r--r--admin/gitmerge.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/admin/gitmerge.el b/admin/gitmerge.el
index adb13fc4e2e..67fca87c119 100644
--- a/admin/gitmerge.el
+++ b/admin/gitmerge.el
@@ -37,10 +37,10 @@
37;; up-to-date). 37;; up-to-date).
38;; - Mark commits you'd like to skip, meaning to only merge their 38;; - Mark commits you'd like to skip, meaning to only merge their
39;; metadata (merge strategy 'ours'). 39;; metadata (merge strategy 'ours').
40;; - Hit 'm' to start merging. Skipped commits will be merged separately. 40;; - Hit 'm' to start merging. Skipped commits will be merged separately.
41;; - If conflicts cannot be resolved automatically, you'll have to do 41;; - If conflicts cannot be resolved automatically, you'll have to do
42;; it manually. In that case, resolve the conflicts and restart 42;; it manually. In that case, resolve the conflicts and restart
43;; gitmerge, which will automatically resume. It will add resolved 43;; gitmerge, which will automatically resume. It will add resolved
44;; files, commit the pending merge and continue merging the rest. 44;; files, commit the pending merge and continue merging the rest.
45;; - Inspect master branch, and if everything looks OK, push. 45;; - Inspect master branch, and if everything looks OK, push.
46 46
@@ -129,7 +129,7 @@ If nil, the function `gitmerge-default-branch' guesses.")
129 (string-to-number (match-string 1)))) 129 (string-to-number (match-string 1))))
130 130
131(defun gitmerge-default-branch () 131(defun gitmerge-default-branch ()
132 "Default for branch that should be merged; eg \"origin/emacs-26\"." 132 "Default for branch that should be merged; e.g. \"origin/emacs-28\"."
133 (or gitmerge-default-branch 133 (or gitmerge-default-branch
134 (format "origin/emacs-%s" (1- (gitmerge-emacs-version))))) 134 (format "origin/emacs-%s" (1- (gitmerge-emacs-version)))))
135 135
@@ -472,7 +472,7 @@ Throw an user-error if we cannot resolve automatically."
472 (if (not (zerop 472 (if (not (zerop
473 (call-process "git" nil t nil 473 (call-process "git" nil t nil
474 "diff" "--name-only" "--diff-filter=U"))) 474 "diff" "--name-only" "--diff-filter=U")))
475 (error "Error listing unmerged files. Resolve manually.") 475 (error "Error listing unmerged files. Resolve manually.")
476 (goto-char (point-min)) 476 (goto-char (point-min))
477 (while (not (eobp)) 477 (while (not (eobp))
478 (push (buffer-substring (point) (line-end-position)) files) 478 (push (buffer-substring (point) (line-end-position)) files)