diff options
Diffstat (limited to 'git')
| -rwxr-xr-x | git/pull-git | 2 | ||||
| -rwxr-xr-x | git/push-git | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/git/pull-git b/git/pull-git index 2850d47..a47e777 100755 --- a/git/pull-git +++ b/git/pull-git @@ -1,7 +1,7 @@ #!/usr/bin/env fish set branch "master" -if set -q $argv[1] +if test (count $argv) -eq 1 set branch $argv[1] end echo "pull from $branch" diff --git a/git/push-git b/git/push-git index b5f2479..30ce865 100755 --- a/git/push-git +++ b/git/push-git @@ -1,7 +1,7 @@ #!/usr/bin/env fish set branch "master" -if set -q $argv[1] +if test (count $argv) -eq 1 set branch $argv[1] end echo "push to $branch" |
