git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* BUG: manpage for git-pull mentions a non-valid option -m in a comment
@ 2014-01-14  2:09 Ivan Zakharyaschev
  2014-01-14 18:26 ` Re* " Junio C Hamano
  0 siblings, 1 reply; 6+ messages in thread
From: Ivan Zakharyaschev @ 2014-01-14  2:09 UTC (permalink / raw)
  To: git

Hello!

git-1.8.4.4

The manpage for git-pull mentions -m in a comment:

--edit, -e, --no-edit
Invoke an editor before committing successful mechanical merge to further edit
the auto-generated merge message, so that the user can explain and justify the
merge. The --no-edit option can be used to accept the auto-generated message
(this is generally discouraged). The --edit (or -e) option is still useful if
you are giving a draft message with the -m option from the command line and
want to edit it in the editor.

but it is not accepted actually:

git pull --no-edit -m 'Restoring config etc from server' \
  origin server/GITCONFIG/master
fatal: No such remote or remote group: Restoring config etc from server

I'm not sure whether it is a bug of the implementation or of the documentation.

(I've also written down this issue at
https://bugzilla.altlinux.org/show_bug.cgi?id=29718 .)

Best regards,
Ivan

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-01-14 20:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-14  2:09 BUG: manpage for git-pull mentions a non-valid option -m in a comment Ivan Zakharyaschev
2014-01-14 18:26 ` Re* " Junio C Hamano
2014-01-14 18:51   ` Torsten Bögershausen
2014-01-14 19:39     ` Junio C Hamano
2014-01-14 19:54       ` [PATCH 1/2] Documentation: exclude irrelevant options from "git pull" Junio C Hamano
2014-01-14 19:57       ` [PATCH 2/2] Documentation: "git pull" does not have the "-m" option Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).