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
maint
Junio C Hamano 2008-02-29 21:22:31 -08:00
commit df4a824341
3 changed files with 3 additions and 3 deletions

View File

@ -45,7 +45,7 @@ OPTIONS
default is not to do `-x` so this option is a no-op. default is not to do `-x` so this option is a no-op.


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

View File

@ -1545,7 +1545,7 @@ Commands:
(with-current-buffer buffer (with-current-buffer buffer
(when (and list-buffers-directory (when (and list-buffers-directory
(string-equal fulldir (expand-file-name list-buffers-directory)) (string-equal fulldir (expand-file-name list-buffers-directory))
(string-match "\\*git-status\\*$" (buffer-name buffer))) (eq major-mode 'git-status-mode))
(setq found buffer)))) (setq found buffer))))
(setq list (cdr list))) (setq list (cdr list)))
found)) found))

View File

@ -47,7 +47,7 @@ proc info_popup {msg} {
append title " ([reponame])" append title " ([reponame])"
} }
tk_messageBox \ tk_messageBox \
-parent $parent \ -parent [_error_parent] \
-icon info \ -icon info \
-type ok \ -type ok \
-title $title \ -title $title \