mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-29 07:43:34 +00:00
fsmonitor: drop unneeded mut from make_fsmonitor_matcher()
We only need &self.working_copy_path here.
This commit is contained in:
parent
c16c89bc27
commit
767e94f5af
1 changed files with 1 additions and 1 deletions
|
@ -836,7 +836,7 @@ impl TreeState {
|
||||||
|
|
||||||
#[instrument(skip_all)]
|
#[instrument(skip_all)]
|
||||||
fn make_fsmonitor_matcher(
|
fn make_fsmonitor_matcher(
|
||||||
&mut self,
|
&self,
|
||||||
fsmonitor_kind: Option<FsmonitorKind>,
|
fsmonitor_kind: Option<FsmonitorKind>,
|
||||||
) -> Result<FsmonitorMatcher, SnapshotError> {
|
) -> Result<FsmonitorMatcher, SnapshotError> {
|
||||||
let (watchman_clock, changed_files) = match fsmonitor_kind {
|
let (watchman_clock, changed_files) = match fsmonitor_kind {
|
||||||
|
|
Loading…
Reference in a new issue