dot

packages and services management
Log | Files | Refs | README

commit 71d01b42e7cefdeebe219cf750dfe1d2ab43c6b6
parent 62ca651535b906a11eb93d232a1db26fa2b8ec09
Author: josuah <mail@josuah.net>
Date:   Fri,  6 Jan 2017 01:56:53 +0100

Checking directory and revision for pull as well.

Diffstat:
M.local/bin/version | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/.local/bin/version b/.local/bin/version @@ -162,11 +162,13 @@ pull() main() { - case "$1" in ( d | diff | r | revision | m | merge | n | new ) + case "$1" in + ( d | diff | r | revision | m | merge | p | pull | n | new ) [ -d .version ] || die "no \".version/\" in \"$PWD\"" esac - case "$1" in ( d | diff | r | revision | m | merge ) + case "$1" in + ( d | diff | r | revision | m | merge | p | pull ) [ -f .version/history ] || die "no revision in \"$PWD\"" esac