@@ -101,6 +101,7 @@ include::merge-options.txt[] :git-pull: 1+-r:: --rebase:: Rebase the current branch on top of the upstream branch after fetching. If there is a remote-tracking branch corresponding to
I am not sure if this is worth it, as it comes from a natural
"abbreviated options" support, i.e.
-r|--r|--re|--reb|--reba|--rebas|--rebase)
rebase=true
And I do not think we particularly want to do
+-r::
+--r::
+--re::
+--reb::
+--reba::
+--rebas::
--rebase::
Rebase the current...
for obvious reasons.
Hi,
On Thu, Aug 16, 2012 at 09:22:14AM -0700, Junio C Hamano [off-list ref] wrote:
I am not sure if this is worth it, as it comes from a natural
"abbreviated options" support, i.e.
-r|--r|--re|--reb|--reba|--rebas|--rebase)
rebase=true
I sent the patch as a (newcomer) friend today asked if it's intentional
that -r is undocumented in 'man git-pull'.
And I do not think we particularly want to do
+-r::
+--r::
+--re::
+--reb::
+--reba::
+--rebas::
--rebase::
Rebase the current...
for obvious reasons.
I agree, however, we already document -q and --quiet, or -v and
--verbose in the same manpage, so I think it would be consistent to have
-r there as well.
Thanks,
Miklos
@@ -101,6 +101,7 @@ include::merge-options.txt[] :git-pull: 1+-r:: --rebase:: Rebase the current branch on top of the upstream branch after fetching. If there is a remote-tracking branch corresponding to
I am not sure if this is worth it, as it comes from a natural
"abbreviated options" support, i.e.
I wasn't aware of the "abbreviated options" capability. Is meant to be
in the man pages as I couldn't find it, or is it described differently?
Just adding the '-r' part of the option did seem sensible to me as a
relative newbie.
-r|--r|--re|--reb|--reba|--rebas|--rebase)
rebase=true
And I do not think we particularly want to do
+-r::
+--r::
+--re::
+--reb::
+--reba::
+--rebas::
--rebase::
Rebase the current...
for obvious reasons.
--
The extra one liner (-r|--r|--re|--reb|--reba|--rebas) would be
readable though not pretty, but the seven line version would be
horrible!
Philip
@@ -101,6 +101,7 @@ include::merge-options.txt[] :git-pull: 1+-r:: --rebase:: Rebase the current branch on top of the upstream branch after fetching. If there is a remote-tracking branch corresponding to
I am not sure if this is worth it, as it comes from a natural
"abbreviated options" support,
Are you sure? This adds '-r', not '--r', i.e., the single-letter option
'r', to the documentation, which is not something we want to hide, usually.
-- Hannes