diff options
author | June McEnroe <june@causal.agency> | 2021-03-03 17:30:55 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2021-03-03 17:30:55 -0500 |
commit | c6de16f5a91170f7d9749c45cd06a28f528f786d (patch) | |
tree | a5fe9cc5ff4750c70794ec5a589f6d36ae1753f8 /git-fetch-email.sh | |
parent | Use printf for pass (diff) | |
download | imbox-c6de16f5a91170f7d9749c45cd06a28f528f786d.tar.gz imbox-c6de16f5a91170f7d9749c45cd06a28f528f786d.zip |
Move default Subject criterion to git-fetch-email
This allows imbox with no criteria to fetch all mail in a mailbox, and the use of git fetch-email --no-subject to do the same.
Diffstat (limited to '')
-rw-r--r-- | git-fetch-email.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/git-fetch-email.sh b/git-fetch-email.sh index 7ceecc9..e3fc953 100644 --- a/git-fetch-email.sh +++ b/git-fetch-email.sh @@ -33,6 +33,7 @@ seen=$(git config --type bool fetchemail.markSeen) move=$(git config fetchemail.moveTo) [ "${unseen}" = 'false' ] && unseen= [ "${seen}" = 'false' ] && seen= +: ${subject:='[PATCH'} OPTS_SPEC="\ git fetch-email [<options>] |