From: "Kovacsics Róbert" <kovirobi@gmail.com>
To: git@vger.kernel.org
Subject: --autodrop and drop!
Date: Sun, 26 Mar 2023 18:21:15 +0100 [thread overview]
Message-ID: <CABPkNKk8PS_Ct1Wr5Us15ZO6MPmCfZMFOwXsQomSh+cnN2Ygtg@mail.gmail.com> (raw)
Hi,
I really like git's autosquash, it's super useful, especially with git
absorb. I use them while the MR/PR is in draft state and then do a
clean-up when it's ready to be reviewed. I sometimes also make commits
which shouldn't make into the final MR, so I was wondering about
adding the `drop!` equivalent (maybe with `--autodrop`, or just also
under `--autosquash`, but I'm leaning towards the former as sometimes
I might want to clean things up while still keeping the temporary
commits).
An example of where this is useful is when I'm making changes to the
CI, so I will be running more CI pipelines than usual and end up
caring about the speed of it. So I make a `drop! Ignore other CI jobs`
commit.
If it's something reasonably easy for me to do, and someone thinks
it's easier to put a couple of bullet-points on how to do it than do
it, then I would be happy to try and implement it myself*
*I cannot promise timeliness, effort as/when I have the energy, but
since I'm the one who cares about this feature I don't think that will
be a problem.
Thanks,
Robert
reply other threads:[~2023-03-26 17:21 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=CABPkNKk8PS_Ct1Wr5Us15ZO6MPmCfZMFOwXsQomSh+cnN2Ygtg@mail.gmail.com \
--to=kovirobi@gmail.com \
--cc=git@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).