[pass] [PATCH] Make test t0500-find.sh pass
Caleb Marble
cm at marblenix.com
Sat Mar 7 17:37:59 CET 2015
Hello Lenz,
Somehow I managed to miss your patch entirely.
I downloaded your patch and ran all tests. Your code passes all tests
for me on both Mac OS X 10.10.2 and Arch 3.18.6-1-ARCH. Nice work!
c
On Sat, Mar 07, 2015 at 09:25:44AM +0100, Lenz Weber wrote:
> Hello Caleb,
>
> actually I submitted a patch that should fix this behaviour this
> thursday - it just hasn't been merged yet.
>
> It's a bit more more exhaustive because it also handles colors (you
> can't match on .gpg$ for coloured tree as actually it will look like
> .gpg\x1B[0m$) and also symlinks (remove .gpg before -> as well).
>
> As you are one of the rare persons that have problems (seems to only
> happen on OSX/BSD, for myself everything was working fine), can you
> please give it a try and feedback?
>
> http://lists.zx2c4.com/pipermail/password-store/2015-March/001402.html
>
> Lenz
>
> On 07.03.2015 02:00, Caleb Marble wrote:
> > pass was including '.gpg' in the directory tree. ---
> > src/password-store.sh | 2 +- 1 file changed, 1 insertion(+), 1
> > deletion(-)
> >
> > diff --git a/src/password-store.sh b/src/password-store.sh index
> > 47f7ffa..de2377c 100755 --- a/src/password-store.sh +++
> > b/src/password-store.sh @@ -334,7 +334,7 @@ cmd_find() { [[ -z "$@"
> > ]] && die "Usage: $PROGRAM $COMMAND pass-names..." IFS="," eval
> > 'echo "Search Terms: $*"' local terms="*$(printf '%s*|*' "$@")" -
> > tree -C -l --noreport -P "${terms%|*}" --prune --matchdirs
> > --ignore-case "$PREFIX" | tail -n +2 | sed
> > 's/\.gpg\(\x1B\[[0-9]\+m\)\{0,1\}\( ->\|$\)/\1\2/g' + tree -C -l
> > --noreport -P "${terms%|*}" --prune --matchdirs --ignore-case
> > "$PREFIX" | tail -n +2 | sed 's/\.gpg\(\x1B\[[0-9]\+m\)\{0,1\}\(
> > ->\|$\)/\1\2/g' | sed 's/\.gpg$//g' }
> >
> > cmd_grep() {
> >
> >
> >
> > _______________________________________________ Password-Store
> > mailing list Password-Store at lists.zx2c4.com
> > http://lists.zx2c4.com/mailman/listinfo/password-store
> >
> _______________________________________________
> Password-Store mailing list
> Password-Store at lists.zx2c4.com
> http://lists.zx2c4.com/mailman/listinfo/password-store
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20150307/6273f20b/attachment.asc>
More information about the Password-Store
mailing list