summaryrefslogtreecommitdiffstats
path: root/fetch.sh
diff options
context:
space:
mode:
authorSteven Hall <Hallzy.18@gmail.com>2015-10-18 16:27:32 -0700
committerSteven Hall <Hallzy.18@gmail.com>2015-10-18 16:27:32 -0700
commit8bef8d80648accd2806ad44e8db6e3aacd92d2e7 (patch)
tree7074e62288ed1baf19184b82c55e2026293fce59 /fetch.sh
parent3bdb43d9dad5766c23a34e438ad3fbd05823b6bd (diff)
downloadgit-sonar-8bef8d80648accd2806ad44e8db6e3aacd92d2e7.tar.gz
git-sonar-8bef8d80648accd2806ad44e8db6e3aacd92d2e7.zip
Custom Fetch time now uses a variable
Set the variable GIT_RADAR_FETCH_TIME in a bashrc, zshrc or gitradarrc file to customize the fetch time.
Diffstat (limited to 'fetch.sh')
-rwxr-xr-xfetch.sh6
1 files changed, 1 insertions, 5 deletions
diff --git a/fetch.sh b/fetch.sh
index 877fa7b..37601e3 100755
--- a/fetch.sh
+++ b/fetch.sh
@@ -10,8 +10,4 @@ dot="$(cd "$(dirname "$([ -L "$0" ] && $READLINK_CMD -f "$0" || echo "$0")")"; p
source $dot/radar-base.sh
-if [[ -z "$@" ]]; then
- fetch;
-else
- fetch $1;
-fi
+fetch;