3 ms·
One thing I've wanted is the ability to group commits into a mega commit. So the history of little changes remains, but as you are scrolling you don't see all o
by Pet_Ant 1y ago
One thing I've wanted is the ability to group commits into a mega commit. So the history of little changes remains, but as you are scrolling you don't see all of them.
- steveklabnik 1y agoThis is an interesting idea... jj has a templating language, but it's not stateful, so you couldn't like, hide some commits based on other commits, for example. But I'll file this away...
- Pet_Ant 1y agoI've thought that it could be as simple as commit's with a message beginning with "minor:: " do not get shown by default.
- steveklabnik 1y agoHmm, yeah that might work. I was thinking about grouping all “minor::” commits as one commit, but this sounds more feasible.
- eddd-ddde 1y agoYou could probably use bookmarks for this.
- 1718627440 1y agoThat's called a merge commit. You can even group them further by creating merges of merge commit. It requires you to merge in the right direction though.
- steveklabnik 1y agoThat doesn’t really hide them in the UI though.
- 1718627440 1y ago--first-parent? --simplify-by-decoration? It doesn't hide them by default yes. It does have several paragraphs with all the ways how to simplify the history.