summaryrefslogtreecommitdiff
path: root/git/push-git
diff options
context:
space:
mode:
authorBrad Clawsie <brad@b7j0c.org>2025-11-07 14:21:20 -0600
committerBrad Clawsie <brad@b7j0c.org>2025-11-07 14:21:20 -0600
commit3213e529e082cf9d99e4bbb431acc703e03a8b71 (patch)
tree9a00240b084ba93288f0329f30a7417aef5b7a58 /git/push-git
parent5515da4d47851a70101e7d68aeff1259b5abfa3c (diff)
fix scripts
Diffstat (limited to 'git/push-git')
-rwxr-xr-xgit/push-git2
1 files changed, 1 insertions, 1 deletions
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"