Commit 5c48c7cc authored by Michael Völske's avatar Michael Völske

up-to-date check for both user and root-owned repository

parent 9cb27718
......@@ -275,7 +275,7 @@ is_var_set() {
# anything.
#
git_repo_has_updates() {
git fetch --dry-run 2>&1 | grep -q '\->'
git fetch --dry-run --verbose 2>&1 | grep -q 'git-upload-pack\|->'
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment