Skip to content

v0.35.1

Latest

Choose a tag to compare

@github-actions github-actions released this 06 Dec 17:47
1adb468

Fixes

  • A --paths pattern with ** is matched a directory at a time, as one without it is: a ? matched a /, a . matched any character, an escaped * before */ (a\**/b) was an error from the regular expression it was turned into, and a pattern with a class that ** patterns took but others didn't (**/[a-]-x) failed with syntax error in pattern. A malformed pattern is an error that says so, before any project is matched
  • --user-config with a file that doesn't exist is an error: the default user config was read in its place, without a word. A relative --user-config is relative to the current directory, as other paths given on the command line are: it was checked there, and read relative to the directory of the config
  • -c/--config and --user-config expand a ~ at the start of the path also when it's quoted (-c '~/work/mani.yaml')
  • A project path that expands to empty (path: $REPO_PATH, with REPO_PATH unset) is an error: the project was put in the directory of its name, which won over the path that another config gives it
  • Two worktrees of a project in one directory, one with a path relative to the project and one absolute, are one worktree, merged as worktrees with the same path are: the one of a config that overrides the other wins, and their branches are a conflict otherwise. Both were kept, and sync tried to create two worktrees in it