diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2021-08-30 17:26:03 -0500 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2021-08-30 17:26:03 -0500 |
| commit | fc2a8982adf66ecc860524f48144f37cec6cabaf (patch) | |
| tree | 9e57b82505ac14888d48dcc3ca73483a561aa3bf | |
| parent | ca350fcb05317999a91a9d2d8fcacba536c5894f (diff) | |
Git sometimes prints credential prompt to stderr
| -rwxr-xr-x[-rw-r--r--] | git-update-agent | 4 |
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" } # |
