From: Dirk Gouders <dirk@gouders.net>
To: Junio C Hamano <gitster@pobox.com>
Cc: git@vger.kernel.org, "Junio C Hamano <gitster@pobox.com>,
Andy Koppe" <andy.koppe@gmail.com>
Subject: Re: [PATCH v4] doc/gitcli: minor fixes
Date: Tue, 24 Nov 2026 07:00:48 +0100 [thread overview]
Message-ID: <ghcxrulqen.fsf@gouders.net> (raw)
In-Reply-To: <xmqqo6bf3yxh.fsf@gitster.g>
On Mon, Nov 23 2026, Junio C Hamano wrote:
> Dirk Gouders <dirk@gouders.net> writes:
>
>> - Reword the commit message and clearly list the changes
>> - Fix a typo in the first rule regarding flags as suggested by Andy Koppe
>
> OK.
>
>> - * When an argument can be misunderstood as either a revision or a path,
>> + * When arguments can be misunderstood as either a revision or a path,
>> they can be disambiguated by placing `--` between them.
>
> Hmph, an earlier iteration I saw had "by placing `--` before or after
> it" and talked about a single argument.
>
> https://lore.kernel.org/git/20261115070357.113875-1-dirk@gouders.net/
>
> And I thought it was much less error prone than this latest version.
>
> "git log main next" where both main and next exist as both a file and a
> branch, and what you meant was to trace the changes made to file 'main'
> up to the tip of the 'next' branch, you cannot just put `--` in between,
> i.e., "git log next -- main", but the new text does not tell the readers
> that they may have to swap.
>
> "git log main" where main both exists as both a file and a branch, you
> would do "git log -- main" to trace the history of file 'main' up to the
> currently checked out commit, or "git log main --" to show the history
> leading to the tip of 'main'. And the earlier text captured exactly
> that.
>
> So, while all the other parts of this v4 may improve over v3, I think
> this part is a regression.
I'm very sorry. I used the additional round to try to migrate the
running topic to b4 and obviously failed in this detail. I didn't mean
to change this back to v1 -- your review comment to v1 was very
understandable.
Dirk
next prev parent reply other threads:[~2026-11-24 6:00 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-14 20:15 [PATCH 1/1] doc/gitcli: minor fixes Dirk Gouders
2026-11-14 21:55 ` Junio C Hamano
2026-11-14 22:09 ` Dirk Gouders
2026-11-14 22:23 ` [PATCH v2] " Dirk Gouders
2026-11-15 7:03 ` [PATCH v3] " Dirk Gouders
2026-11-21 6:42 ` Andy Koppe
2026-11-22 19:15 ` Junio C Hamano
2026-11-22 19:33 ` Dirk Gouders
2026-11-23 21:29 ` [PATCH v4] " Dirk Gouders
2026-11-23 23:34 ` Junio C Hamano
2026-11-24 6:00 ` Dirk Gouders [this message]
2026-11-24 8:31 ` [PATCH v5] " Dirk Gouders
2026-11-24 15:41 ` Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ghcxrulqen.fsf@gouders.net \
--to=dirk@gouders.net \
--cc=andy.koppe@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox