Skip to content

Commit

Permalink
Basic Pijul support (ignoring VCS dir)
Browse files Browse the repository at this point in the history
Pijul <https://pijul.org> is a decentralized version control system.

Ignorefile use .ignore which use the same as the Git-branded,
.gitignore file… so more advanced support could be added.
  • Loading branch information
toastal committed Jul 18, 2024
1 parent 2ec088e commit f3d209e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tup/pel_group.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ int pel_ignored(const char *path, int len)
return 1;
if(len == 4 && strncmp(path, ".svn", 4) == 0)
return 1;
if(len == 6 && strncmp(path, ".pijul", 6) == 0)
return 1;
if(len == 6 && strncmp(path, "_darcs", 6) == 0)
return 1;
if(len == 7 && strncmp(path, ".ccache", 7) == 0)
Expand Down
2 changes: 2 additions & 0 deletions src/tup/server/fuse_fs.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ static int is_hidden(const char *path)
return 1;
if(strstr(path, "/.bzr") != NULL)
return 1;
if(strstr(path, "/.pijul") != NULL)
return 1;
if(strstr(path, "/_darcs") != NULL)
return 1;
if(is_ccache_path(path))
Expand Down

0 comments on commit f3d209e

Please sign in to comment.