gitrefresh

Easily export, reinitialize and update all git repositories in a file hierarchy
git clone git://git.defalsify.org/gitrefresh.git
Log | Files | Refs | README | LICENSE

commit a44af7cd1fc8886fa3996faf5d38f48e32993987
parent 51bc04cdab868ac67b229ea9cb57a4b4271b2082
Author: lash <dev@holbrook.no>
Date:   Sat, 15 Jan 2022 08:04:30 +0000

Throw away git fetch output on stderr

Diffstat:
Mgitrefresh.sh | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gitrefresh.sh b/gitrefresh.sh @@ -46,7 +46,7 @@ repo_update() { >&2 echo "remote update failed in $(pwd)" return 1 fi - git fetch > /dev/null + git fetch > /dev/null 2>&1 if [ "$?" -gt "0" ]; then >&2 echo "fetch failed in $(pwd)" return 1