All of lore.kernel.org
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: Marc Branchaud <marcnarc@xiplink.com>
Cc: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>,
	 git@vger.kernel.org, Phillip Wood <phillip.wood123@gmail.com>,
	 Christian Couder <christian.couder@gmail.com>,
	 Charvi Mendiratta <charvi077@gmail.com>
Subject: Re: [RESEND] git-rebase.txt: rewrite docu for fixup/squash (again)
Date: Fri, 20 Oct 2023 17:22:17 -0700	[thread overview]
Message-ID: <xmqqsf64omdi.fsf@gitster.g> (raw)
In-Reply-To: <b5bc179d-46b6-4c48-bfe5-769dac38489b@xiplink.com> (Marc Branchaud's message of "Fri, 20 Oct 2023 19:56:09 -0400")

Marc Branchaud <marcnarc@xiplink.com> writes:

> I should have added "as a convenience".  Squash and fixup are similar
> enough that it seems reasonable for them to both support -c.  Saves
> people from having to remember that only fixup allows -c.

Yeah, "fixup" could have been a plain "squash" with some option.  It
could have been two options, "-i" ("ignore message of this one") and
"-o" ("use message of this one alone"), and then today's "fixup"
would have been "squash -i", and today's "fixup -c" would have been
"squash -o".

But I agree that "squash -c" is something one may find tempting to
type, after learning "fixup -c".

I forgot to comment on the real contents of your review, by the way.
Everything you said was reasonable.


  reply	other threads:[~2023-10-21  0:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-20  9:27 [RESEND] git-rebase.txt: rewrite docu for fixup/squash (again) Oswald Buddenhagen
2023-10-20 21:40 ` Marc Branchaud
2023-10-20 23:19   ` Junio C Hamano
2023-10-20 23:56     ` Marc Branchaud
2023-10-21  0:22       ` Junio C Hamano [this message]
2023-10-21  7:26   ` Oswald Buddenhagen

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=xmqqsf64omdi.fsf@gitster.g \
    --to=gitster@pobox.com \
    --cc=charvi077@gmail.com \
    --cc=christian.couder@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=marcnarc@xiplink.com \
    --cc=oswald.buddenhagen@gmx.de \
    --cc=phillip.wood123@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.