Skip to content

Commit

Permalink
Merge branch 'maint'
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
Junio C Hamano committed Mar 1, 2008
2 parents c6fef0b + 84989bd commit df4a824
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Documentation/git-cherry-pick.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ OPTIONS
default is not to do `-x` so this option is a no-op.

-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
option specifies the parent number (starting from 1) of
the mainline and allows cherry-pick to replay the change
Expand Down
2 changes: 1 addition & 1 deletion contrib/emacs/git.el
Original file line number Diff line number Diff line change
Expand Up @@ -1545,7 +1545,7 @@ Commands:
(with-current-buffer buffer
(when (and 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 list (cdr list)))
found))
Expand Down
2 changes: 1 addition & 1 deletion git-gui/lib/error.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ proc info_popup {msg} {
append title " ([reponame])"
}
tk_messageBox \
-parent $parent \
-parent [_error_parent] \
-icon info \
-type ok \
-title $title \
Expand Down

0 comments on commit df4a824

Please sign in to comment.