New
-d,--dirty: list only repositories with uncommitted changes. Combine with-ato find every repo that needs a commit. Closes #4.-x,--exclude PAT: skip a repository atPATor below it.PATis relative to the working directory and can be a glob, so-x workdropswork/deepbut keepsnotwork. Repeat the option to exclude more than one pattern. Closes #3.
Fixed
- Import mode accepts a file argument:
repoman.sh repos.txt. The help advertised this, but it only worked through a pipe. - Options are parsed when output is piped.
repoman.sh -n | grep xused to treat-nas an input filename. - The scan prunes
.gitdirectories instead of descending into them. - The default filter (repos with a remote) is now documented in the help and README.
- Export from a directory that is itself a repository prints
.instead of an absolute path. git cloneno longer reads from the import list on stdin, so an SSH prompt can't swallow the remaining lines.
Full Changelog: 0.3...0.4