From 3213e529e082cf9d99e4bbb431acc703e03a8b71 Mon Sep 17 00:00:00 2001 From: Brad Clawsie Date: Fri, 7 Nov 2025 14:21:20 -0600 Subject: fix scripts --- git/pull-git | 2 +- 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" -- cgit v1.2.3