summaryrefslogtreecommitdiffstats
path: root/fetch.sh (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2021-03-24Update references to project name to git-sonarMalfurious1-1/+1
Signed-off-by: Malfurious <m@lfurio.us>
2015-10-18Custom Fetch time now uses a variableSteven Hall1-5/+1
Set the variable GIT_RADAR_FETCH_TIME in a bashrc, zshrc or gitradarrc file to customize the fetch time.
2015-10-16Made changes recommeneded by @michaeldfallenSteven Hall1-1/+1
in fetch.sh "if" now checks for $@ instead of just $1 in radar-base.sh there is now a parameter expansion on line 170 instead of the if statements. in git-radar, now there is a shift, and a regex check that the next value is a number. If the next value after --fetch_t is not a number, an error is echo'd and it resorts to the default behaviour of 5 minutes.
2015-10-15Added feature that let's you specify how often to fetchSteven Hall1-1/+5
with --fetch_t you can specify how many seconds to wait before auto fetching. using the --fetch option gives you the default of 5 minutes still. "--fetch_t 45" for example would fetch every 45 seconds.
2015-08-25Follow symlinks when loading libs0.1Michael Allen1-1/+8
2015-08-19Make sure fetch is location independantMichael Allen1-1/+4
2015-08-19Rename to git-radarMichael Allen1-1/+1
2015-03-02add a sh file for calling the fetchMichael Allen1-0/+3
I tried many ways to get the fetch call to background without staying attached to the current subshell. Ends up it's not possible to nohup or fully disown a function that is defined inside the same file that's calling it. So simple answer, I've created a file `fetch.sh` that can be called inside nohup. It will source `git-base.sh` and call the fetch function.