jj icon indicating copy to clipboard operation
jj copied to clipboard

[git] `git log` may hide `refs/jj/keep/*` in the future by default

Open chooglen opened this issue 3 years ago • 1 comments

Description

This isn't a problem yet (and might not be), but I'll document it anyway just in case

By default, git log shows "decorations" for each ref that points to a commit, which includes refs that are only used internally by Git and not actually useful to the user. This behavior is somewhat useful for jj because git log shows refs/jj/keep/*.

This is likely to change; on the Git mailing list, there is an in-flight series that shrinks the default set of decorations to a set of "sensible" refs. This will be confusing for anyone relying on the default behavior, but users should be able to unbreak themselves as that series will almost certainly include a config option to get the old behavior of showing all decorations.

chooglen avatar Aug 12 '22 16:08 chooglen

Thanks for the heads up. I actually think that will be an improvement :) I would at least prefer that myself.

martinvonz avatar Aug 12 '22 20:08 martinvonz

There's probably nothing for us to fix. If anything, users will probably be happy that refs/jj/keep/* is omitted.

chooglen avatar Apr 12 '23 16:04 chooglen