summaryrefslogtreecommitdiff
path: root/git/pull-git
diff options
context:
space:
mode:
Diffstat (limited to 'git/pull-git')
-rwxr-xr-xgit/pull-git2
1 files changed, 1 insertions, 1 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"