summaryrefslogtreecommitdiff
path: root/remote.inc.sh
AgeCommit message (Collapse)Author
2017-11-18Avoid corrupting caches when network is unavailableDave Reisner
This removes the use of a tempfile entirely, and only updates the cache when `git ls-remote` succeeds. Based on a PR by polygamma: https://github.com/falconindy/asp/pull/20
2017-04-05remote: avoid need for awk post-processingDave Reisner
2017-04-04avoid leaking git output for completionsDave Reisner
completions might trigger tracking of a new package. it all goes to stderr, but let's not crowd the output regardless.
2017-03-12add ls-files subcommand, allow showing files other than PKGBUILDDave Reisner
2016-03-20fix some things highlighted by shellcheckDave Reisner
2014-09-12mildly simplify ref-fetching with git-for-each-refDave Reisner
2014-08-30abstract away cache semanticsDave Reisner
2014-08-20remove dead codeDave Reisner
2014-08-18cleanup local tracking branches when untrackingDave Reisner
Also, make both package_untrack and remote_untrack robust against partially existing branches.
2014-08-16remotes: move refcaching to diskDave Reisner
This speeds up a lot of operations substantially, at the cost of occasionally being wrong for a little while when new packages are added/removed from the repositories. Mostly, this is for the sake of the completions.
2014-08-08remote: remove TODODave Reisner
If anyone really wants this, they can just run 'git fetch' in $ASPROOT.
2014-08-06remote refs never involve our local repo nameDave Reisner
Fixes GHI#2.
2014-08-05cache even empty replies from the remoteDave Reisner
2014-08-02remote: cache contents of remotesDave Reisner
2014-08-02remote: use show-ref instead of rev-parseDave Reisner
2014-08-02remote: avoid need for command substitutionDave Reisner
2014-07-31add 'untrack' verbDave Reisner
2014-07-30initial commitDave Reisner