ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/lib/protos
Martin von Zweigbergk 31eff96cb7 cli: record full argv in operation log
When using the command line interface (which is the only interface so
far), it seems more useful to see the exact command that was run than
a logical description of what it does. This patch makes the CLI record
that information in the operation metadata in a new key/value field. I
put it in a generic key/value field instead of a more specialized
field because the key/value field seems like a useful thing to have in
general. However, that means that we "have to" do shell-escaping when
saving the data instead of leaving the data unescaped and adding the
shell-escaping when presenting it. I added very simple shell-escaping
for now.
2021-05-09 22:42:13 -07:00
..
op_store.proto cli: record full argv in operation log 2021-05-09 22:42:13 -07:00
store.proto protobuf: generate code at build-time 2020-12-24 01:05:17 -08:00
working_copy.proto protobuf: generate code at build-time 2020-12-24 01:05:17 -08:00