Commit Graph

94 Commits

Author SHA1 Message Date
Félix Saparelli
f60a623a44 Add --env and --workdir options 2022-04-15 15:45:17 +12:00
Félix Saparelli
84aac2243c Add --project-origin override 2022-04-15 15:45:17 +12:00
Félix Saparelli
00e9b17043 Final change to --debounce default: down to 50ms
Closes #168
2022-04-15 15:45:17 +12:00
Félix Saparelli
d4acb9d719 Add notice for change to $SHELL-as-default in 2.0
Ref #210
2022-04-15 15:45:17 +12:00
Félix Saparelli
009ef2356f Deny 2018 idioms 2022-04-13 22:59:43 +12:00
Félix Saparelli
036d9a27e8 Ignore homedir if discovered as origin unless explicitly requested
Fixes #276
2022-04-12 21:59:05 +12:00
Félix Saparelli
386e01b06f The thing I said should never fail does in fact fail
Fixes #271
2022-03-28 10:14:54 +13:00
Félix Saparelli
d38428f297 Look up project origin on implicit pwd
This may cause some more issues to crop up while waiting for --project-origin,
but it is the more correct behaviour.

Fixes #270
2022-03-27 16:31:58 +13:00
Félix Saparelli
aeb699b658 Show CLI version in debug logs 2022-03-16 00:01:32 +13:00
Félix Saparelli
93da1ce780 Carry help through elevated errors properly
This might show the help text twice actually. Let's see...
2022-02-12 20:05:19 +13:00
Félix Saparelli
56380154d3
Clippy 2022-02-11 00:52:35 +13:00
Félix Saparelli
96a6a6e9d9 Revert ignoring .git only when Git is discovered
And so on from other VCS. This causes confusion (ref #255) when watching
from outside a git repo, where the VCS type isn’t detected so the .git
folder is included in the watchset. While slightly incorrect, it’s more
expected that these folders be ignored regardless, and there’s always
--no-default-ignore to avoid those ignores if needed.
2022-02-07 17:15:27 +13:00
Félix Saparelli
94b21c2da3 Load global ignores even when there’s no discovered VCS
Fixes #255
2022-02-07 17:15:27 +13:00
Félix Saparelli
e40744f033 Elevate FsWatcherCreate errors to critical
See #251
2022-02-07 17:15:27 +13:00
Félix Saparelli
c6f230a168 Pretty-print runtime errors 2022-02-07 17:15:27 +13:00
Félix Saparelli
18a2b204e2 Hide io::errors when "waiting on process group" 2022-01-27 10:48:24 +13:00
Félix Saparelli
96a41e1b4c
Remove unused Result<> return 2022-01-26 03:24:15 +13:00
Félix Saparelli
6cebaf204f Restore shell default to sh on unix (#240) 2022-01-26 01:06:18 +13:00
Félix Saparelli
9b866ad9e8
Remove default signal from clap, leave it for parse
Fixes #239
2022-01-24 20:52:29 +13:00
Félix Saparelli
4e7e75e1d5 Strip leading period if present from -e exts (#236) 2022-01-23 21:53:12 +13:00
Félix Saparelli
c79a3bd12c Upgraded fmt 2022-01-22 14:00:42 +13:00
Félix Saparelli
9f67ec35b1 More OsSplit windows fixing 2022-01-18 23:14:08 +13:00
Félix Saparelli
881e8f4047 More OsSplit testing 2022-01-18 22:53:24 +13:00
Félix Saparelli
7f092ca4b7 Further windows fix to OsSplit 2022-01-18 22:39:55 +13:00
Félix Saparelli
fd474c7e38
Fix and add tests for OsSplit 2022-01-18 22:10:25 +13:00
Félix Saparelli
1d64cac11f Formattting 2022-01-16 20:08:21 +13:00
Félix Saparelli
e2f27a1b01
Add context to last runtime io error
and remove generic runtime io error enum variant
2022-01-16 20:00:07 +13:00
Félix Saparelli
93a961abf6
Clippy 2022-01-16 19:16:53 +13:00
Félix Saparelli
c821faf383
Split error mod and split generic/specific io errors 2022-01-16 18:57:40 +13:00
Félix Saparelli
6a925fc392
Canonicalise origin and workdir 2022-01-16 17:42:49 +13:00
Félix Saparelli
2a1a386208
Rename (with compat alias) --no-ignore to --no-project-ignore 2022-01-16 17:34:06 +13:00
Félix Saparelli
10b71847da
Add support for Pijul and Subversion 2022-01-16 16:13:05 +13:00
Félix Saparelli
9327f8c293
Only ignore .git if we're in a git project, and so on 2022-01-16 16:12:50 +13:00
Félix Saparelli
2682dde41d
Handle errors from ignore file discovery 2022-01-16 16:11:17 +13:00
Félix Saparelli
3d32f2d24b
Hook up new globset signature 2022-01-16 16:09:53 +13:00
Félix Saparelli
b8d9ad728e
Integrate IgnoreFilterer into GlobsetFilterer 2022-01-16 15:18:15 +13:00
Félix Saparelli
e40b426930 Clippy 2022-01-16 01:44:11 +13:00
Félix Saparelli
1ce238949e
Reduce verbosity of tracing span output 2022-01-15 16:40:01 +13:00
Félix Saparelli
00def9e19a
Use pretty logging at high -vvvv 2022-01-15 15:14:25 +13:00
Félix Saparelli
2c840f4a2d
Reorganise the ignore mod for brevity 2022-01-15 15:12:32 +13:00
Félix Saparelli
6a541e5f27
Move ignore_files one level deeper
in preparation for new ignore functionality
2022-01-10 20:47:06 +13:00
Félix Saparelli
163bcc3022
Adjust display of errors and exit notify 2022-01-01 01:33:52 +13:00
Félix Saparelli
d0bb14f39c
Maintain the naming of the env vars 2021-12-29 21:36:42 +13:00
Félix Saparelli
9ed3645088
Add environment vars support 2021-12-29 20:55:09 +13:00
Félix Saparelli
4dbb924977
Add default ignores 2021-12-29 20:14:29 +13:00
Félix Saparelli
a00912f17f
Implement --no-meta for default filterer 2021-12-29 19:29:45 +13:00
Félix Saparelli
e2f6fe147a
Support no-{global,project,vcs}-ignore 2021-12-29 19:19:43 +13:00
Félix Saparelli
be4b184cd0
Revise --no-ignore and --no-vcs-ignore help text for clarity and conciseness 2021-12-29 19:10:17 +13:00
Félix Saparelli
ea3f09408f
Fix new option name 2021-12-29 18:53:47 +13:00
Félix Saparelli
ffcdf17914
Implement tagged's --no-meta 2021-12-29 18:51:51 +13:00