git/list[1] front-page[2] threads[3] people[4] search[5] about
 

--autodrop and drop!

From
KRKovacsics Róbert <kovirobi@gmail.com>
Date
Mar 26, 2023, 17:21 UTC
Message-ID
<CABPkNKk8PS_Ct1Wr5Us15ZO6MPmCfZMFOwXsQomSh+cnN2Ygtg@mail.gmail.com>
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

Message 1 of 1 in “--autodrop and drop!”
  1. Kovacsics RóbertMar 26, 2023

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.