Thread (2 messages) 2 messages, 2 authors, 2019-06-28

Re: [PATCH 1/1] docs: update git-clone doc: refer to long options

From: Johannes Schindelin <hidden>
Date: 2019-06-28 11:55:13

Hi,

On Thu, 27 Jun 2019, Junio C Hamano wrote:
"Quentin Nerden via GitGitGadget" [off-list ref] writes:
quoted
From: Quentin Nerden <redacted>

To make the doc of git-clone easier to read,
refer to the long version of the options
(it is easier to guess what --verbose is doing than -v).

Also:
put the short options first, to match the doc of git-add, git-commit, git-clean, git-branch...
This "also" makes the patch unnecessarily harder to review.
Splitting it into two patches would make it reviewable.
Good idea.

The easiest way I can think of would be to split by first undoing the
commit via `git reset --hard HEAD^` (don't worry, the commit graph is
still accessible via the reflog), then staging the parts of the patch that
put the short options first: `git checkout -p HEAD@{1}`. After that is
done, commit with a new commit message, then get the remainder of the
changes via `git cherry-pick HEAD@{2}` (by now, the original commit is no
longer `HEAD@{1}` because a new commit has been appended to the reflog).

Then force-push and submit a new iteration ;-)

Ciao,
Johannes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help