summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Hall <Hallzy.18@gmail.com>2015-10-18 23:07:31 -0700
committerSteven Hall <Hallzy.18@gmail.com>2015-10-18 23:07:31 -0700
commit40445543f10f4e10cc13ea8a9e4ba0a79cb200db (patch)
tree78f47e825250686f462ce6b262f6b8733149ba95
parent51000c4213983fc2a72b039858112b3bb4c2b592 (diff)
downloadgit-sonar-40445543f10f4e10cc13ea8a9e4ba0a79cb200db.tar.gz
git-sonar-40445543f10f4e10cc13ea8a9e4ba0a79cb200db.zip
Since a number is no longer taken after --fetch_t we can remove the parameter
substitution that has been removed in this commit.
-rwxr-xr-xradar-base.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/radar-base.sh b/radar-base.sh
index f9d834a..538d593 100755
--- a/radar-base.sh
+++ b/radar-base.sh
@@ -181,10 +181,10 @@ time_to_update() {
}
fetch() {
+ # Gives $FETCH_TIME a value
get_fetch_time
- local timeToUpdate=${1:-$FETCH_TIME}
- if time_to_update $timeToUpdate; then
+ if time_to_update $FETCH_TIME; then
record_timestamp
git fetch --quiet > /dev/null 2>&1
fi