summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorflu0r1ne <flu0r1ne@flu0r1ne.net>2021-08-30 17:26:03 -0500
committerflu0r1ne <flu0r1ne@flu0r1ne.net>2021-08-30 17:26:03 -0500
commitc04e2d0f621bcec15b7662e6d49bf96136bf2260 (patch)
tree9e57b82505ac14888d48dcc3ca73483a561aa3bf
parente556b90e39d77c8b6a5eeb8b74d0b2c28272a932 (diff)
downloadgit-update-agent-c04e2d0f621bcec15b7662e6d49bf96136bf2260.tar.xz
git-update-agent-c04e2d0f621bcec15b7662e6d49bf96136bf2260.zip
Git sometimes prints credential prompt to stderr
-rwxr-xr-x[-rw-r--r--]git-update-agent4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-update-agent b/git-update-agent
index c52fdfe..7a0b98d 100644..100755
--- a/git-update-agent
+++ b/git-update-agent
@@ -317,7 +317,7 @@ init_repo() {
git config "remote.${remote}.fetch" "+refs/heads/*:refs/remotes/$remote/*"
set_should_track true
- if ! git fetch --force --tags "$remote" 2>/dev/null; then
+ if ! git fetch --force --tags "$remote"; then
die "Could not download content from \"$remote_url\" on \"$DEFAULT_BRANCH\"."
fi
@@ -329,7 +329,7 @@ init_repo() {
}
print_version() {
- echo "0.0.5"
+ echo "0.0.6"
}
#