You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fresh from another question about what shows in jj log, despite there being a FAQ entry for it, I'm wondering if it would be a good idea for jj output to be more verbose.
Maybe not all output, but those commands that rely on a config for a default parameter should print what it is set to (echoing the command you would have typed if there wasn't a default) like
plain jj relies on an option for the default command
log relies on the default revset
an alias could be printed out
fix relies on fix.tools being set
There are some other defaults around auto tracking bookmarks and remotes and private commits, but they don't really represent a command line flag unless you use --config.
With this in place,
when typing jj, the first line output would be jj log,
but jj log also has a default, so it really should be jj log -r present(@) | ancestors(immutable_heads().., 2) | present(trunk())
I'm not sure which, or if it would show both. Looking at it here, it seems messy, but I think newbies would understand what is going on and learn revsets faster. It would also be a way to identify if you have a config set funny (but don't know to look). Perhaps it would be useful for troubleshooting. I notice that there is a global option for --quiet and --debug but not --verbose.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Fresh from another question about what shows in
jj log, despite there being a FAQ entry for it, I'm wondering if it would be a good idea forjjoutput to be more verbose.Maybe not all output, but those commands that rely on a config for a default parameter should print what it is set to (echoing the command you would have typed if there wasn't a default) like
jjrelies on an option for the default commandlogrelies on the default revsetfixrelies onfix.toolsbeing setThere are some other defaults around auto tracking bookmarks and remotes and private commits, but they don't really represent a command line flag unless you use
--config.With this in place,
when typing
jj, the first line output would bejj log,but
jj logalso has a default, so it really should bejj log -r present(@) | ancestors(immutable_heads().., 2) | present(trunk())I'm not sure which, or if it would show both. Looking at it here, it seems messy, but I think newbies would understand what is going on and learn revsets faster. It would also be a way to identify if you have a config set funny (but don't know to look). Perhaps it would be useful for troubleshooting. I notice that there is a global option for
--quietand--debugbut not--verbose.All reactions