diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2021-08-29 18:17:11 -0500 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2021-08-29 18:17:11 -0500 |
| commit | 852f6b7ce0b5d2df9c0bbf539571e6b44554ef30 (patch) | |
| tree | 485393d8f34ee1b1ba4ed3e9930014ec45336964 /git-update-agent | |
| parent | f3088997a142fdd8c405940c8b3d05fa72743ce1 (diff) | |
| parent | c17273041ecf56f38018f6c0527b047ac1d16db4 (diff) | |
Merge branch 'upstream' into ppa
Update for 0.0.5
Diffstat (limited to 'git-update-agent')
| -rw-r--r-- | git-update-agent | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/git-update-agent b/git-update-agent index b0c91f4..c52fdfe 100644 --- a/git-update-agent +++ b/git-update-agent @@ -320,6 +320,8 @@ init_repo() { if ! git fetch --force --tags "$remote" 2>/dev/null; then die "Could not download content from \"$remote_url\" on \"$DEFAULT_BRANCH\"." fi + + git remote set-head "$remote" --auto >/dev/null git checkout "$DEFAULT_BRANCH" @@ -327,7 +329,7 @@ init_repo() { } print_version() { - echo "0.0.4" + echo "0.0.5" } # |
