summaryrefslogtreecommitdiff
path: root/remote.inc.sh
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2017-04-04 11:29:10 -0400
committerDave Reisner <dreisner@archlinux.org>2017-04-04 11:29:10 -0400
commit2d4a6b2d83dfd61760dfc569265a67fea3249bdb (patch)
tree5f6b9c311de6b373071f44855611218a3e50fa0f /remote.inc.sh
parentccfe1f2e0d55198dcd6b9ed63ec3c60b6008a219 (diff)
downloadasp32-2d4a6b2d83dfd61760dfc569265a67fea3249bdb.tar.xz
avoid leaking git output for completions
completions might trigger tracking of a new package. it all goes to stderr, but let's not crowd the output regardless.
Diffstat (limited to 'remote.inc.sh')
-rw-r--r--remote.inc.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/remote.inc.sh b/remote.inc.sh
index 8b9674b..db6d318 100644
--- a/remote.inc.sh
+++ b/remote.inc.sh
@@ -52,7 +52,7 @@ remote_get_tracked_refs() {
remote_update_refs() {
local remote=$1 refspecs=("${@:2}")
- git fetch "$remote" "${refspecs[@]}"
+ quiet_git fetch "$remote" "${refspecs[@]}"
}
remote_update() {