jj/cli
Scott Taylor 1eebbe57c0 commit_builder: reset author timestamp on discardable commits
It's common to create empty working-copy commits while using jj, and
currently the author timestamp for a commit is only set when it is first
created. If you create an empty commit, then don't work on a repo for a
few days, and then start working on a new feature without abandoning the
working-copy commit, the author timestamp will remain as the time the
commit was created rather than being updated to the time that work began
or finished.

This commit changes the behavior so that discardable commits (empty
commits with no description) by the current user have their author
timestamps reset when they are rewritten, meaning that the author
timestamp will become finalized whenever a commit is given a description
or becomes non-empty.
2024-06-29 08:35:53 -05:00
..
examples revset: drop Eq/PartialEq from RevsetExpression and related types 2024-06-28 10:28:51 +09:00
src cli chore: standardize subcommand function and argument type names 2024-06-28 13:38:04 -07:00
testing cli: add a fake code formatter tool for testing 2024-06-04 14:28:21 -05:00
tests commit_builder: reset author timestamp on discardable commits 2024-06-29 08:35:53 -05:00
build.rs
Cargo.toml cli: implement enough of jj fix to run a single tool on all files 2024-06-04 14:28:21 -05:00
LICENSE