diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2022-04-04 18:33:06 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2022-04-04 18:34:16 -0700 |
commit | 35d088e41bc28eb45d2fd8d5179fb0e914a566fa (patch) | |
tree | 51c71f0f3bf5fe65d2cc7f165a574cd610b10275 /bin/locmaint | |
parent | 4956e7658283e78387d7c279f34a5dd725966fbf (diff) | |
download | dotfiles-35d088e41bc28eb45d2fd8d5179fb0e914a566fa.tar.gz |
locmaint ignores loose ~/src files under git worktrees & add TODOs
Diffstat (limited to 'bin/locmaint')
-rwxr-xr-x | bin/locmaint | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/locmaint b/bin/locmaint index 4a2a91f4..9366f6a3 100755 --- a/bin/locmaint +++ b/bin/locmaint @@ -693,8 +693,8 @@ sub loose_src_files { && /([^_]+)_([^_]+)\.orig(?:\.gbp)?\.tar/ && exists $Local::Homedir::debian_source_repos{$1}) }, preprocess => sub { - # don't look inside any repos - return grep { not Local::Homedir::is_repo($_) } @_ + # don't look inside any repos or git worktrees + return grep !Local::Homedir::is_repo($_, 1), @_ }}, "$ENV{HOME}/src"); if (@loose_src_files == 0) { return 0; |