Am 31.08.2015 um 12:00 schrieb [email protected]:
> Hi All:
>
> I was wondering how you identify passwords that haven't been changed in a
> while.
>
> Maybe someone has a better solution but this is what I came up with:
>
> git ls-tree -r HEAD --name-only -z | xargs -0 -n1 -I{} sh -c 'echo {}; \
>    git log -n1 --format="%at:%ar" -- {}' | paste - - -d: | sort -k 2 -t: | \
>    cut -d: -f1,3- | column -t -s:

What about copy and move commits?

e.G.: pass mv irc/freenode.net/d[-_-]p irc/freenode.net/q[-o_o-]p
This creates a rename commit.

pass git log --format="%s %Cblue%ar"
 
[..]

_______________________________________________
Password-Store mailing list
[email protected]
http://lists.zx2c4.com/mailman/listinfo/password-store

Reply via email to