Skip to content

Commit df4a824

Browse files
committed
Merge branch 'maint'
* maint: Documentation cherry-pick: Fix cut-and-paste error git.el: find the git-status buffer whatever its name is git-gui: Paper bag fix info dialog when no files are staged at commit
2 parents c6fef0b + 84989bd commit df4a824

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Documentation/git-cherry-pick.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ OPTIONS
4545
default is not to do `-x` so this option is a no-op.
4646

4747
-m parent-number|--mainline parent-number::
48-
Usually you cannot revert a merge because you do not know which
48+
Usually you cannot cherry-pick a merge because you do not know which
4949
side of the merge should be considered the mainline. This
5050
option specifies the parent number (starting from 1) of
5151
the mainline and allows cherry-pick to replay the change

contrib/emacs/git.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1545,7 +1545,7 @@ Commands:
15451545
(with-current-buffer buffer
15461546
(when (and list-buffers-directory
15471547
(string-equal fulldir (expand-file-name list-buffers-directory))
1548-
(string-match "\\*git-status\\*$" (buffer-name buffer)))
1548+
(eq major-mode 'git-status-mode))
15491549
(setq found buffer))))
15501550
(setq list (cdr list)))
15511551
found))

git-gui/lib/error.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ proc info_popup {msg} {
4747
append title " ([reponame])"
4848
}
4949
tk_messageBox \
50-
-parent $parent \
50+
-parent [_error_parent] \
5151
-icon info \
5252
-type ok \
5353
-title $title \

0 commit comments

Comments
 (0)