-
I seem to find myself with empty commits relatively frequently (probably largely because I'm still getting used to Is there a way to globally |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 24 replies
-
Try I'm also curious how you end up with the empty commits. |
Beta Was this translation helpful? Give feedback.
-
I hadn't even realized this was possible, but it apparently is. Try At the moment, Update: Actually, @yuja implemented that as well.
|
Beta Was this translation helpful? Give feedback.
I hadn't even realized this was possible, but it apparently is.
Try
jj log -r 'empty() ~ merges()'
. If you like the result, you canjj abandon 'empty() ~ merges()'
. If you include merges, there is a minor bug withabandon
(#2482) that will mess up the topology of the repo a bit.At the moment,
I don't see a way to exclude commits with non-empty descriptions.Update: Actually, @yuja implemented that as well.
jj log -r '(empty() ~ merges()) & description(exact:"")'