From 72dd6d54758d3af1c00cd631bf7d623b4cfb0b53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Neumann?= Date: Mon, 1 Oct 2012 17:55:08 +0200 Subject: Use long option-names -- adds documentation in itself --- .zsh/functions/cci | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to '.zsh') diff --git a/.zsh/functions/cci b/.zsh/functions/cci index 5693440..dc46f23 100644 --- a/.zsh/functions/cci +++ b/.zsh/functions/cci @@ -52,17 +52,17 @@ else echo "$(config status)" ask || return 2 - config add -u + config add --update fi -cstg diff -O --cached +cstg diff --diff-opts --cached ask || return 2 log "Creating new patch" cstg new $tok -m "$message" log "Refreshing" -cstg refresh -i +cstg refresh --index if [[ -z $(cstg files) ]]; then echo @@ -79,7 +79,7 @@ cstg commit $tok || return # this is needed to make the `config push` work if is-at-least 0.16 $stg_v; then log "Popping patches, stg thought it had to re-apply" - cstg pop -a -k || return + cstg pop --all --keep || return fi if [[ -n $(cstg series --applied) ]]; then @@ -93,7 +93,7 @@ log "Pushing to remote" config push || return log "Re-apply patches" -cstg push -a -k || return +cstg push --all --keep || return log "Done" -- cgit v1.2.3