jj/src
Martin von Zweigbergk b45bada00f cli: clarify error message when jj untrack argument is not ignored
As pointed out by @arxanas in #88, the message saying something like
"At least 'bin/.DS_Store' was added back ..." is confusing especially
when the command you ran was just `jj untrack bin/.DS_Store`. Let's
clarify the message by saying exactly how many more files there are,
and specialize the message for when there is only one file. Also
update the message to say "would be added back" instead of "was added
back" since we don't actually change anything if some files would be
added back (since 4b91ad408c).

Should we even list all the files? I'm concerned that such a list
could be very long. On the other hand, it can also be annoying to have
to run `jj untrack some/dir/` and only be told about single file to
add to the ignore patterns every time.
2022-03-02 22:43:09 -08:00
..
commands.rs cli: clarify error message when jj untrack argument is not ignored 2022-03-02 22:43:09 -08:00
diff_edit.rs working_copy: take a tree object instead of ID in TreeState::check_out() 2022-02-13 12:12:08 -08:00
formatter.rs cli: indicate each workspace's checkout in log (#13) 2022-02-02 21:36:14 -08:00
graphlog.rs
lib.rs
main.rs cli: exit with code 1 on invalid config 2022-02-19 23:45:41 -08:00
template.pest
template_parser.rs cli: indicate each workspace's checkout in log (#13) 2022-02-02 21:36:14 -08:00
templater.rs cli: indicate each workspace's checkout in log (#13) 2022-02-02 21:36:14 -08:00
testutils.rs cli: add test of --no-commit-working-copy 2022-03-02 22:00:24 -08:00
ui.rs cli: clarify error message when jj untrack argument is not ignored 2022-03-02 22:43:09 -08:00