Commit 932d611c authored by Bartlomiej Tartanus's avatar Bartlomiej Tartanus Committed by Marc Cornellà
Browse files

git: properly indent ggfl function (#7556)

Fixes (probably MacOS) issue:
> ggfl
zsh: command not found: ggfl
parent ea6ec09b
...@@ -112,8 +112,8 @@ ggf() { ...@@ -112,8 +112,8 @@ ggf() {
git push --force origin "${b:=$1}" git push --force origin "${b:=$1}"
} }
ggfl() { ggfl() {
[[ "$#" != 1 ]] && local b="$(git_current_branch)" [[ "$#" != 1 ]] && local b="$(git_current_branch)"
git push --force-with-lease origin "${b:=$1}" git push --force-with-lease origin "${b:=$1}"
} }
compdef _git ggf=git-checkout compdef _git ggf=git-checkout
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment