Overview
Comment: | zshrc: Add flveri command to verify Fossil commits |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
74956b9a7d2f885d03f4fb0e91a26a27 |
User & Date: | js 2021-01-02 21:40:25 |
Context
2021-01-30
| ||
19:58 | Update commit signing key check-in: 4046da409f user: js tags: trunk | |
2021-01-02
| ||
21:40 | zshrc: Add flveri command to verify Fossil commits check-in: 74956b9a7d user: js tags: trunk | |
2021-01-01
| ||
22:00 | Add flpu, a combination of fossil pull & up check-in: 15fc9f571f user: js tags: trunk | |
Changes
Changes to zshrc.
︙ | ︙ | |||
259 260 261 262 263 264 265 266 267 268 269 270 271 272 | local ret=1 fossil changes --all . | sed 's/^.* //' | while read file; do grep -H "$@" "$file" && ret=0 [ $? -gt 1 ] && return $? done return $ret } git2fl() { local gitdir=$(git rev-parse --show-toplevel)/.git local repo=$(fossil info | awk '/^repository:/ { print $2 }') [ -z "$repo" ] && repo="$1" | > > > > | 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 | local ret=1 fossil changes --all . | sed 's/^.* //' | while read file; do grep -H "$@" "$file" && ret=0 [ $? -gt 1 ] && return $? done return $ret } flveri() { fossil artifact ${1-current} | gpg --verify } git2fl() { local gitdir=$(git rev-parse --show-toplevel)/.git local repo=$(fossil info | awk '/^repository:/ { print $2 }') [ -z "$repo" ] && repo="$1" |
︙ | ︙ |