index : asp32 | |
Archlinux32 fork of asp - obsolete | gitolite user |
summaryrefslogtreecommitdiff |
author | Dave Reisner <dreisner@archlinux.org> | 2017-04-04 11:29:10 -0400 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2017-04-04 11:29:10 -0400 |
commit | 2d4a6b2d83dfd61760dfc569265a67fea3249bdb (patch) | |
tree | 5f6b9c311de6b373071f44855611218a3e50fa0f /util.inc.sh | |
parent | ccfe1f2e0d55198dcd6b9ed63ec3c60b6008a219 (diff) |
-rw-r--r-- | util.inc.sh | 8 |
diff --git a/util.inc.sh b/util.inc.sh index c33cb63..ddd7592 100644 --- a/util.inc.sh +++ b/util.inc.sh @@ -36,3 +36,11 @@ in_array() { return 1 } + +quiet_git() { + local q + + [[ $ASP_GIT_QUIET ]] && q=('-q') + + command git "$1" "${q[@]}" "${@:2}" +} |