github-actions · GitHub

@github-actions Bot added the enhancement

New features or improvements of some kind, as opposed to a problem (bug)

label

Apr 25, 2026

@calmh calmh changed the title feat: load remote ignore patterns feat: load remote ignore patterns (fixes #9352)

Apr 25, 2026

@calmh calmh mentioned this pull request

Apr 25, 2026

Open

@calmh

This adds support for loading ignore files remotely on initial folder
setup. That is, it's fine to create a folder with an .stignore that says
`#include some-other-file`, as long as some-other-file is available from
a peer device.
This is accomplished by adding a new filesystem shim `RemoteFilesystem`
which serves Stat()/Lstat() by returning the global index entry from the
database, and serves Open() calls by reading the file from a remote
peer and buffering it in-memory. Obviously this is inefficient for
general usage, but it's perfectly fine for ignore files.
The ignore loader then gets a layered view of the local filesystem + a
remote filesystem that serves files that don't exist locally, via the
new `LayeredFilesystem` abstraction.
Signed-off-by: Jakob Borg <jakob@kastelo.net>

@calmh

Signed-off-by: Jakob Borg <jakob@kastelo.net>
Signed-off-by: Jakob Borg <jakob@kastelo.net>

acolomb

Signed-off-by: Jakob Borg <jakob@kastelo.net>
* upstream/main:
  chore(gui, man, authors): update docs, translations, and contributors

Draft

Read the original on github.com ↗